diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/check_workflow/states/deleted.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/check_workflow/states/deleted.xml index a4b6938989c1f094acb296708cb10dd383fd926a..a707d6e05e3e41ac50fb823322da00814be69f08 100644 --- a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/check_workflow/states/deleted.xml +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/check_workflow/states/deleted.xml @@ -36,7 +36,9 @@ <item> <key> <string>transitions</string> </key> <value> - <tuple/> + <tuple> + <string>confirm</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/check_workflow/states/delivered.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/check_workflow/states/delivered.xml index d15a339056843309ea2fcd583de311fb5e3b9158..ad5ee5328f881a8b76c34760dfe5e851aff8b6a3 100644 --- a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/check_workflow/states/delivered.xml +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/check_workflow/states/delivered.xml @@ -37,6 +37,7 @@ <key> <string>transitions</string> </key> <value> <tuple> + <string>cancel</string> <string>undeliver</string> <string>undeliver_action</string> </tuple> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/states/cancelled.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/states/cancelled.xml new file mode 100644 index 0000000000000000000000000000000000000000..7777f123ba0acc491e6b2a369228f1b4a39c4989 --- /dev/null +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/states/cancelled.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StateDefinition" module="Products.DCWorkflow.States"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>cancelled</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/states/confirmed.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/states/confirmed.xml index cc13ad550f3613e8412d08ca461af0d7af4fb2d2..41171b6c2419402dd482c8e9cbf64faa42a70b08 100644 --- a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/states/confirmed.xml +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/states/confirmed.xml @@ -37,6 +37,7 @@ <key> <string>transitions</string> </key> <value> <tuple> + <string>cancel</string> <string>unconfirm</string> </tuple> </value> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/transitions/cancel.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/transitions/cancel.xml new file mode 100644 index 0000000000000000000000000000000000000000..08d46ece56d454dd4e83a33b2e559dce82be2a3b --- /dev/null +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/checkbook_workflow/transitions/cancel.xml @@ -0,0 +1,73 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>cancel</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>cancelled</string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/bt/revision b/bt5/erp5_banking_core/bt/revision index 88101bccd4deb8c8ad06cc0437c4f3c16e13df1e..a6d80d584162931833f8d09f1e897fb1bb7bbc3b 100644 --- a/bt5/erp5_banking_core/bt/revision +++ b/bt5/erp5_banking_core/bt/revision @@ -1 +1 @@ -465 \ No newline at end of file +466 \ No newline at end of file