From 8896cb352873682b4240fab8aa99bf337b4668cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 2 Jan 2008 13:59:47 +0000
Subject: [PATCH] modules permissions change after update add action to do
 cancel after deliver only for manager

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18577 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../check_deposit_module.xml                  |  9 +-
 .../check_payment_module.xml                  |  9 +-
 .../checkbook_delivery_module.xml             |  9 +-
 .../checkbook_reception_module.xml            |  9 +-
 .../checkbook_usual_cash_transfer_module.xml  |  9 +-
 .../checkbook_vault_transfer_module.xml       |  9 +-
 .../stop_payment_module.xml                   |  9 +-
 .../traveler_check_purchase_module.xml        | 11 +--
 .../traveler_check_sale_module.xml            |  9 +-
 .../states/delivered.xml                      |  2 +-
 .../transitions/deliver_to_cancel_action.xml  | 93 +++++++++++++++++++
 .../states/delivered.xml                      |  2 +-
 .../transitions/cancel_action.xml             |  1 -
 .../transitions/deliver_to_cancel_action.xml  | 87 +++++++++++++++++
 .../scripts/checkConsistency.xml              |  6 ++
 .../states/cancelled.xml                      | 14 ++-
 .../states/delivered.xml                      |  2 +-
 .../transitions/deliver_to_cancel_action.xml  | 87 +++++++++++++++++
 .../states/delivered.xml                      |  2 +-
 .../transitions/deliver_to_cancel_action.xml  | 87 +++++++++++++++++
 .../states/delivered.xml                      |  2 +-
 .../transitions/deliver_to_cancel_action.xml  | 87 +++++++++++++++++
 .../states/delivered.xml                      |  2 +-
 .../transitions/deliver_to_cancel_action.xml  | 87 +++++++++++++++++
 .../states/delivered.xml                      |  2 +-
 .../transitions/deliver_to_cancel_action.xml  | 87 +++++++++++++++++
 .../states/delivered.xml                      |  2 +-
 .../transitions/deliver_to_cancel_action.xml  | 87 +++++++++++++++++
 bt5/erp5_banking_check/bt/revision            |  2 +-
 .../bt/template_tool_id_list                  |  0
 30 files changed, 754 insertions(+), 70 deletions(-)
 create mode 100644 bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/transitions/deliver_to_cancel_action.xml
 create mode 100644 bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/deliver_to_cancel_action.xml
 create mode 100644 bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_delivery_workflow/transitions/deliver_to_cancel_action.xml
 create mode 100644 bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_reception_workflow/transitions/deliver_to_cancel_action.xml
 create mode 100644 bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_usual_cash_transfer_workflow/transitions/deliver_to_cancel_action.xml
 create mode 100644 bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/checkbook_vault_transfer_workflow/transitions/deliver_to_cancel_action.xml
 create mode 100644 bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_purchase_workflow/transitions/deliver_to_cancel_action.xml
 create mode 100644 bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/traveler_check_sale_workflow/transitions/deliver_to_cancel_action.xml
 create mode 100644 bt5/erp5_banking_check/bt/template_tool_id_list

diff --git a/bt5/erp5_banking_check/ModuleTemplateItem/check_deposit_module.xml b/bt5/erp5_banking_check/ModuleTemplateItem/check_deposit_module.xml
index dac6cbf4af..3dc29ccb7b 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 0a15972a1e..7c429f3a2b 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 f8b5cbe8bd..63fb4e0c79 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 e3746d7d9d..2b3c0c4cd5 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 fb8a7f8568..3bfc1a73c6 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 872f39ff2a..cec550e52c 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 2240497aa4..fa3d328d41 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 24c0332f56..f26c89177b 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 566c8c8393..4fba9e2754 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 1947b72a3f..216b62af8c 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 0000000000..5827a14262
--- /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 658bb2d059..26bed97475 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 e56f6ad6dd..9e65133995 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 0000000000..2e919f4f18
--- /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 3dd507f050..982761fb9f 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 5b90af211b..f1663ab6c7 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 fd2b6424ec..34fae7163c 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 0000000000..2e919f4f18
--- /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 ce45a45de2..742a80f7ae 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 0000000000..2e919f4f18
--- /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 c39020c8d2..3df7574624 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 0000000000..2e919f4f18
--- /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 b8b90f3b17..66116dd01d 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 0000000000..2e919f4f18
--- /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 10f31c593c..2e32b25947 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 0000000000..2e919f4f18
--- /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 10f31c593c..2e32b25947 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 0000000000..2e919f4f18
--- /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 2a9c18ad50..b0e9f8d0ff 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 0000000000..e69de29bb2
-- 
2.30.9