Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yusei Tahara
erp5
Commits
ba2de5f2
Commit
ba2de5f2
authored
Jan 13, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup deprecated states and trigger reindex after migrating workflow state.
parent
a95a5a8e
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2 additions
and
217 deletions
+2
-217
bt5/erp5_crm/ExtensionTemplateItem/CRMMigration.py
bt5/erp5_crm/ExtensionTemplateItem/CRMMigration.py
+1
-0
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/acknowledged.xml
...orkflow/event_simulation_workflow/states/acknowledged.xml
+0
-36
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/assigned.xml
...al_workflow/event_simulation_workflow/states/assigned.xml
+0
-36
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/expired.xml
...tal_workflow/event_simulation_workflow/states/expired.xml
+0
-36
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/new.xml
.../portal_workflow/event_simulation_workflow/states/new.xml
+0
-36
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/ordered.xml
...tal_workflow/event_simulation_workflow/states/ordered.xml
+0
-36
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/responded.xml
...l_workflow/event_simulation_workflow/states/responded.xml
+0
-36
bt5/erp5_crm/bt/revision
bt5/erp5_crm/bt/revision
+1
-1
No files found.
bt5/erp5_crm/ExtensionTemplateItem/CRMMigration.py
View file @
ba2de5f2
...
...
@@ -62,5 +62,6 @@ def migrateEventWorkflowHistory(self):
return
workflow_tool
=
portal
.
portal_workflow
workflow_tool
.
_jumpToStateFor
(
self
,
new_state
)
self
.
reindexObject
()
return
'Event workflow migration on %s : %s -> %s'
%
(
self
.
getPath
(),
current_state
,
new_state
)
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/acknowledged.xml
deleted
100644 → 0
View file @
a95a5a8e
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StateDefinition"
module=
"Products.DCWorkflow.States"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
This state is deprecated and exists only for the migration.
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
acknowledged
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Acknowledged
</string>
</value>
</item>
<item>
<key>
<string>
transitions
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/assigned.xml
deleted
100644 → 0
View file @
a95a5a8e
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StateDefinition"
module=
"Products.DCWorkflow.States"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
This state is deprecated and exists only for the migration.
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
assigned
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Assigned
</string>
</value>
</item>
<item>
<key>
<string>
transitions
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/expired.xml
deleted
100644 → 0
View file @
a95a5a8e
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StateDefinition"
module=
"Products.DCWorkflow.States"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
This state is deprecated and exists only for the migration.
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
expired
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Expired
</string>
</value>
</item>
<item>
<key>
<string>
transitions
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/new.xml
deleted
100644 → 0
View file @
a95a5a8e
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StateDefinition"
module=
"Products.DCWorkflow.States"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
This state is deprecated and exists only for the migration.
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
new
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
New
</string>
</value>
</item>
<item>
<key>
<string>
transitions
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/ordered.xml
deleted
100644 → 0
View file @
a95a5a8e
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StateDefinition"
module=
"Products.DCWorkflow.States"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
This state is deprecated and exists only for the migration.
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ordered
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Pending
</string>
</value>
</item>
<item>
<key>
<string>
transitions
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_simulation_workflow/states/responded.xml
deleted
100644 → 0
View file @
a95a5a8e
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StateDefinition"
module=
"Products.DCWorkflow.States"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
This state is deprecated and exists only for the migration.
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
responded
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Responded
</string>
</value>
</item>
<item>
<key>
<string>
transitions
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm/bt/revision
View file @
ba2de5f2
58
6
58
7
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment