diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/check_deposit_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/check_deposit_module.xml index dac6cbf4af03827111f146384ea9714eff6db5d6..3dc29ccb7bc23a6a7b321c3a9ca2713c1f8cb9b7 100644 --- a/bt5/erp5_banking_check/ModuleTemplateItem/check_deposit_module.xml +++ b/bt5/erp5_banking_check/ModuleTemplateItem/check_deposit_module.xml @@ -207,6 +207,9 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Add HBTreeFolder2s</name> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -463,9 +466,6 @@ <name>Edit Factories</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Edit ParsedXML</name> - </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -666,9 +666,6 @@ <role>Author</role> <role>Manager</role> </permission> - <permission type='list'> - <name>View DOM hierarchy</name> - </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/check_payment_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/check_payment_module.xml index 0a15972a1eefef8292b39f19290bcdca9582b9a2..7c429f3a2bc7f1a8a587ff2686ed78ddd04923f4 100644 --- a/bt5/erp5_banking_check/ModuleTemplateItem/check_payment_module.xml +++ b/bt5/erp5_banking_check/ModuleTemplateItem/check_payment_module.xml @@ -207,6 +207,9 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Add HBTreeFolder2s</name> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -463,9 +466,6 @@ <name>Edit Factories</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Edit ParsedXML</name> - </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -666,9 +666,6 @@ <role>Author</role> <role>Manager</role> </permission> - <permission type='list'> - <name>View DOM hierarchy</name> - </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_delivery_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_delivery_module.xml index f8b5cbe8bdcff79e8a75c28d99d68eb246cc3d8c..63fb4e0c7944668c9358f0d2ceb23c173452a904 100644 --- a/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_delivery_module.xml +++ b/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_delivery_module.xml @@ -203,6 +203,9 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Add HBTreeFolder2s</name> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -458,9 +461,6 @@ <name>Edit Factories</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Edit ParsedXML</name> - </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -656,9 +656,6 @@ <role>Author</role> <role>Manager</role> </permission> - <permission type='list'> - <name>View DOM hierarchy</name> - </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_reception_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_reception_module.xml index e3746d7d9df4e9f83bfd20fb9665c0d954ea41a9..2b3c0c4cd5deba0b2cbfa491bdbc9404c294769e 100644 --- a/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_reception_module.xml +++ b/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_reception_module.xml @@ -210,6 +210,9 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Add HBTreeFolder2s</name> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -468,9 +471,6 @@ <name>Edit Factories</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Edit ParsedXML</name> - </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -673,9 +673,6 @@ <role>Author</role> <role>Manager</role> </permission> - <permission type='list'> - <name>View DOM hierarchy</name> - </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_usual_cash_transfer_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_usual_cash_transfer_module.xml index fb8a7f8568b1652e6fef2f1f1ba0077682e39083..3bfc1a73c694145aff92a9864f9b4ad8c1e8b210 100644 --- a/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_usual_cash_transfer_module.xml +++ b/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_usual_cash_transfer_module.xml @@ -208,6 +208,9 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Add HBTreeFolder2s</name> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -464,9 +467,6 @@ <name>Edit Factories</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Edit ParsedXML</name> - </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -668,9 +668,6 @@ <role>Author</role> <role>Manager</role> </permission> - <permission type='list'> - <name>View DOM hierarchy</name> - </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_vault_transfer_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_vault_transfer_module.xml index 872f39ff2a9a0b199cd12c48550e495947477d62..cec550e52c52294e43c261bd62bb7902ee84fd1a 100644 --- a/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_vault_transfer_module.xml +++ b/bt5/erp5_banking_check/ModuleTemplateItem/checkbook_vault_transfer_module.xml @@ -208,6 +208,9 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Add HBTreeFolder2s</name> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -464,9 +467,6 @@ <name>Edit Factories</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Edit ParsedXML</name> - </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -668,9 +668,6 @@ <role>Author</role> <role>Manager</role> </permission> - <permission type='list'> - <name>View DOM hierarchy</name> - </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/stop_payment_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/stop_payment_module.xml index 2240497aa403f77b799def2a63811d38e735298a..fa3d328d417375efa1ffb6fad06b5d7817fdface 100644 --- a/bt5/erp5_banking_check/ModuleTemplateItem/stop_payment_module.xml +++ b/bt5/erp5_banking_check/ModuleTemplateItem/stop_payment_module.xml @@ -208,6 +208,9 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Add HBTreeFolder2s</name> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -466,9 +469,6 @@ <name>Edit Factories</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Edit ParsedXML</name> - </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -671,9 +671,6 @@ <role>Author</role> <role>Manager</role> </permission> - <permission type='list'> - <name>View DOM hierarchy</name> - </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/traveler_check_purchase_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/traveler_check_purchase_module.xml index 24c0332f5637c36beddbd19b390af8e691429741..f26c89177bfdd5956551a938f3563a9df20c43ed 100644 --- a/bt5/erp5_banking_check/ModuleTemplateItem/traveler_check_purchase_module.xml +++ b/bt5/erp5_banking_check/ModuleTemplateItem/traveler_check_purchase_module.xml @@ -208,6 +208,9 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Add HBTreeFolder2s</name> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -466,10 +469,6 @@ <name>Edit Factories</name> <role>Manager</role> </permission> - <permission type='tuple'> - <name>Edit ParsedXML</name> - <role>Manager</role> - </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -673,10 +672,6 @@ <role>Author</role> <role>Manager</role> </permission> - <permission type='tuple'> - <name>View DOM hierarchy</name> - <role>Manager</role> - </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/traveler_check_sale_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/traveler_check_sale_module.xml index 566c8c8393dba7021c20acd81e466f5860c76b61..4fba9e27542ee5a611a5ac0a925f6b5c07d601fe 100644 --- a/bt5/erp5_banking_check/ModuleTemplateItem/traveler_check_sale_module.xml +++ b/bt5/erp5_banking_check/ModuleTemplateItem/traveler_check_sale_module.xml @@ -208,6 +208,9 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Add HBTreeFolder2s</name> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -466,9 +469,6 @@ <name>Edit Factories</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Edit ParsedXML</name> - </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -671,9 +671,6 @@ <role>Author</role> <role>Manager</role> </permission> - <permission type='list'> - <name>View DOM hierarchy</name> - </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/states/delivered.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/states/delivered.xml index 1947b72a3fa336bb889452a90d0ed7edbd1596e2..216b62af8c449037632db8427a7cfa3f9d5b347a 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/states/delivered.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/states/delivered.xml @@ -44,7 +44,7 @@ <value> <tuple> <string>cancel</string> - <string>cancel_action</string> + <string>deliver_to_cancel_action</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/transitions/deliver_to_cancel_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/transitions/deliver_to_cancel_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..5827a14262e949bec776fb300adf2720af075ba9 --- /dev/null +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/transitions/deliver_to_cancel_action.xml @@ -0,0 +1,93 @@ +<?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>Cancel</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>cancel</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/states/delivered.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/states/delivered.xml index 658bb2d059ca30dbb0be1f2ee5bab9d3e3fc734e..26bed97475d391188b4a347210ee71b56d1f6813 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/states/delivered.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/states/delivered.xml @@ -38,7 +38,7 @@ <value> <tuple> <string>cancel</string> - <string>cancel_action</string> + <string>deliver_to_cancel_action</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/cancel_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/cancel_action.xml index e56f6ad6dd9e4eb9215795a767618cb8cea9b526..9e65133995347b7c90e6f532941d8f4ab985d326 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/cancel_action.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/cancel_action.xml @@ -80,7 +80,6 @@ <string>Manager</string> <string>Assignor</string> <string>Assignee</string> - <string>DestinationAssignee</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/deliver_to_cancel_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/deliver_to_cancel_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e919f4f185f00228425ccd60fa34d22ceeba272 --- /dev/null +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/deliver_to_cancel_action.xml @@ -0,0 +1,87 @@ +<?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>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>cancel</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/scripts/checkConsistency.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/scripts/checkConsistency.xml index 3dd507f0506895d8fe826529c124bc595b62bdd9..982761fb9f143ddbeab155ac3b3718338e3a8960 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/scripts/checkConsistency.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/scripts/checkConsistency.xml @@ -80,6 +80,11 @@ if source is None:\n msg = Message(domain=\'ui\', message=\'No counter defined.\')\n raise ValidationFailed, (msg,)\n \n +destination_payment = transaction.getDestinationPayment()\n +if destination_payment is None:\n + msg = Message(domain=\'ui\', message=\'No account defined.\')\n + raise ValidationFailed, (msg,)\n +\n if sum([len(x.getAggregateList()) for x in transaction.objectValues(portal_type=[\'Checkbook Delivery Line\'])]) == 0:\n msg = Message(domain=\'ui\', message=\'No checkbook selected for delivery.\')\n raise ValidationFailed, (msg,) \n @@ -171,6 +176,7 @@ for line in line_list:\n <string>None</string> <string>source</string> <string>msg</string> + <string>destination_payment</string> <string>sum</string> <string>append</string> <string>$append0</string> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/states/cancelled.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/states/cancelled.xml index 5b90af211b2607dc7c9fddac01328bdcadca3fb6..f1663ab6c7932de94803104cc5d1af8b1d711db8 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/states/cancelled.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/states/cancelled.xml @@ -65,13 +65,19 @@ <key> <string>Access contents information</string> </key> <value> <tuple> - <string>Auditor</string> + <string>Assistant</string> <string>Manager</string> <string>Owner</string> - <string>Assistant</string> + <string>Reviewer</string> </tuple> </value> </item> + <item> + <key> <string>Add portal content</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>Modify portal content</string> </key> <value> @@ -84,10 +90,10 @@ <key> <string>View</string> </key> <value> <tuple> - <string>Auditor</string> + <string>Assistant</string> <string>Manager</string> <string>Owner</string> - <string>Assistant</string> + <string>Reviewer</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/states/delivered.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/states/delivered.xml index fd2b6424ec0662f8ad1fd1f490f0bd97d349ef7f..34fae7163c1f21adda5e2d338f2b51899ba3d4b1 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/states/delivered.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/states/delivered.xml @@ -44,7 +44,7 @@ <value> <tuple> <string>cancel</string> - <string>cancel_action</string> + <string>deliver_to_cancel_action</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/transitions/deliver_to_cancel_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/transitions/deliver_to_cancel_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e919f4f185f00228425ccd60fa34d22ceeba272 --- /dev/null +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/transitions/deliver_to_cancel_action.xml @@ -0,0 +1,87 @@ +<?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>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>cancel</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_reception_workflow/states/delivered.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_reception_workflow/states/delivered.xml index ce45a45de2c97c64c25a3d6d0f8f6838fe24aec3..742a80f7ae7d6ba7cd02699a636a976c2b905329 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_reception_workflow/states/delivered.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_reception_workflow/states/delivered.xml @@ -38,7 +38,7 @@ <value> <tuple> <string>cancel</string> - <string>cancel_action</string> + <string>deliver_to_cancel_action</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_reception_workflow/transitions/deliver_to_cancel_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_reception_workflow/transitions/deliver_to_cancel_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e919f4f185f00228425ccd60fa34d22ceeba272 --- /dev/null +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_reception_workflow/transitions/deliver_to_cancel_action.xml @@ -0,0 +1,87 @@ +<?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>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>cancel</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_usual_cash_transfer_workflow/states/delivered.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_usual_cash_transfer_workflow/states/delivered.xml index c39020c8d273d061bff786f070d2301832e14669..3df757462443d10101bc0a37a17aaee0e7e6803e 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_usual_cash_transfer_workflow/states/delivered.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_usual_cash_transfer_workflow/states/delivered.xml @@ -38,7 +38,7 @@ <value> <tuple> <string>cancel</string> - <string>cancel_action</string> + <string>deliver_to_cancel_action</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_usual_cash_transfer_workflow/transitions/deliver_to_cancel_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_usual_cash_transfer_workflow/transitions/deliver_to_cancel_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e919f4f185f00228425ccd60fa34d22ceeba272 --- /dev/null +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_usual_cash_transfer_workflow/transitions/deliver_to_cancel_action.xml @@ -0,0 +1,87 @@ +<?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>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>cancel</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_vault_transfer_workflow/states/delivered.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_vault_transfer_workflow/states/delivered.xml index b8b90f3b171ba13997417cd76dd8e9602f2d4fd0..66116dd01d94359584b5007edf897530bc4ce495 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_vault_transfer_workflow/states/delivered.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_vault_transfer_workflow/states/delivered.xml @@ -38,7 +38,7 @@ <value> <tuple> <string>cancel</string> - <string>cancel_action</string> + <string>deliver_to_cancel_action</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_vault_transfer_workflow/transitions/deliver_to_cancel_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_vault_transfer_workflow/transitions/deliver_to_cancel_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e919f4f185f00228425ccd60fa34d22ceeba272 --- /dev/null +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_vault_transfer_workflow/transitions/deliver_to_cancel_action.xml @@ -0,0 +1,87 @@ +<?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>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>cancel</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_purchase_workflow/states/delivered.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_purchase_workflow/states/delivered.xml index 10f31c593c4db23f5becdcc60eeaf77d6cbfc5a9..2e32b259479e24f7fb0d56ea6c7088350e2717f5 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_purchase_workflow/states/delivered.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_purchase_workflow/states/delivered.xml @@ -38,7 +38,7 @@ <value> <tuple> <string>cancel</string> - <string>cancel_action</string> + <string>deliver_to_cancel_action</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_purchase_workflow/transitions/deliver_to_cancel_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_purchase_workflow/transitions/deliver_to_cancel_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e919f4f185f00228425ccd60fa34d22ceeba272 --- /dev/null +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_purchase_workflow/transitions/deliver_to_cancel_action.xml @@ -0,0 +1,87 @@ +<?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>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>cancel</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_sale_workflow/states/delivered.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_sale_workflow/states/delivered.xml index 10f31c593c4db23f5becdcc60eeaf77d6cbfc5a9..2e32b259479e24f7fb0d56ea6c7088350e2717f5 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_sale_workflow/states/delivered.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_sale_workflow/states/delivered.xml @@ -38,7 +38,7 @@ <value> <tuple> <string>cancel</string> - <string>cancel_action</string> + <string>deliver_to_cancel_action</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_sale_workflow/transitions/deliver_to_cancel_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_sale_workflow/transitions/deliver_to_cancel_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e919f4f185f00228425ccd60fa34d22ceeba272 --- /dev/null +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_sale_workflow/transitions/deliver_to_cancel_action.xml @@ -0,0 +1,87 @@ +<?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>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>cancel</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_to_cancel_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Cancel</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision index 2a9c18ad50e6731f71e354121996a406a20a90fe..b0e9f8d0ff9ef600d88b4447f44c13eed00eaca6 100644 --- a/bt5/erp5_banking_check/bt/revision +++ b/bt5/erp5_banking_check/bt/revision @@ -1 +1 @@ -357 \ No newline at end of file +358 \ No newline at end of file diff --git a/bt5/erp5_banking_check/bt/template_tool_id_list b/bt5/erp5_banking_check/bt/template_tool_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391