Commit d419c69d authored by Vincent Pelletier's avatar Vincent Pelletier

Rename workflow states and update transitions to keep the original relations between states.

planned becomes confirmed
ordered becomes started
confirmed becomes stopped

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12703 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 24a1b0c8
......@@ -34,14 +34,16 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Validated By Vault Manager Site Destination</string> </value>
<value> <string>Assigned To Vault Controler Site Source</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>deliver</string>
<string>deliver_action</string>
<string>reject</string>
<string>reject_action</string>
<string>start</string>
<string>start_action</string>
</tuple>
</value>
</item>
......
......@@ -42,8 +42,8 @@
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>plan</string>
<string>plan_action</string>
<string>confirm</string>
<string>confirm_action</string>
</tuple>
</value>
</item>
......
......@@ -24,7 +24,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ordered</string> </value>
<value> <string>started</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
......@@ -40,8 +40,8 @@
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>confirm</string>
<string>confirm_action</string>
<string>stop</string>
<string>stop_action</string>
</tuple>
</value>
</item>
......
......@@ -24,7 +24,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>planned</string> </value>
<value> <string>stopped</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
......@@ -34,16 +34,14 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Assigned To Vault Controler Site Source</string> </value>
<value> <string>Validated By Vault Manager Site Destination</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>order</string>
<string>order_action</string>
<string>reject</string>
<string>reject_action</string>
<string>deliver</string>
<string>deliver_action</string>
</tuple>
</value>
</item>
......
......@@ -24,7 +24,7 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Assign To Vault Controler Site Destination</string> </value>
<value> <string>Assign To Vault Controler</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
......@@ -58,7 +58,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Assign To Vault Controler Site Destination</string> </value>
<value> <string>Assign To Vault Controler</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
......@@ -24,15 +24,15 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Assign To Vault Controler Site Destination</string> </value>
<value> <string>Assign To Vault Controler</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=confirm_action</string> </value>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=plan_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>confirm</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -54,11 +54,11 @@
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
<value> <string>validateVaultBalance</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Assign To Vault Controler Site Destination</string> </value>
<value> <string>Assign To Vault Controler Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......@@ -83,7 +83,7 @@
<key> <string>roles</string> </key>
<value>
<tuple>
<string>DestinationAssignor</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
......
......@@ -46,11 +46,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>order</string> </value>
<value> <string>start</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>ordered</string> </value>
<value> <string>started</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
......
......@@ -32,7 +32,7 @@
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>order</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -46,7 +46,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>order_action</string> </value>
<value> <string>start_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......
......@@ -24,7 +24,7 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Assign To Vault Controler</string> </value>
<value> <string>Assign To Vault Controler Site Destination</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
......@@ -46,11 +46,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>plan</string> </value>
<value> <string>stop</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>planned</string> </value>
<value> <string>stopped</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
......@@ -58,7 +58,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Assign To Vault Controler</string> </value>
<value> <string>Assign To Vault Controler Site Destination</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
......@@ -24,15 +24,15 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Assign To Vault Controler</string> </value>
<value> <string>Assign To Vault Controler Site Destination</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=plan_action</string> </value>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=confirm_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>plan</string> </value>
<value> <string>confirm</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -46,7 +46,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>plan_action</string> </value>
<value> <string>stop_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......@@ -54,11 +54,11 @@
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>validateVaultBalance</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Assign To Vault Controler Action</string> </value>
<value> <string>Assign To Vault Controler Site Destination</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......@@ -83,7 +83,7 @@
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>DestinationAssignor</string>
<string>Manager</string>
</tuple>
</value>
......
167
\ No newline at end of file
169
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment