From 51743f8ab0cc48ae55f63d9a658dd94f8b06cea7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Mon, 30 Jul 2007 09:19:37 +0000
Subject: [PATCH] fit to last requirement

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15380 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../transitions/agree_action.xml               |  2 +-
 .../transitions/reject_action.xml              |  1 +
 .../worklists/ordered.xml                      | 18 ++++++------------
 bt5/erp5_banking_check/bt/revision             |  2 +-
 4 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/agree_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/agree_action.xml
index 19d1c5d318..a463ff9239 100644
--- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/agree_action.xml
+++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/agree_action.xml
@@ -77,7 +77,7 @@
             <key> <string>roles</string> </key>
             <value>
               <tuple>
-                <string>Assignee</string>
+                <string>DestinationAssignor</string>
                 <string>Manager</string>
               </tuple>
             </value>
diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/reject_action.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/reject_action.xml
index 8d9b94314a..25d79de720 100644
--- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/reject_action.xml
+++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/transitions/reject_action.xml
@@ -81,6 +81,7 @@
                 <string>Assignee</string>
                 <string>Assignor</string>
                 <string>DestinationAssignee</string>
+                <string>DestinationAssignor</string>
               </tuple>
             </value>
         </item>
diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/worklists/ordered.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/worklists/ordered.xml
index f84f49b1fa..bd7a514607 100644
--- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/worklists/ordered.xml
+++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/worklists/ordered.xml
@@ -57,11 +57,8 @@ Base_viewWorklist?simulation_state=ordered&portal_type=Check Payment&reset=1
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.DCWorkflow.Guard</string>
-          <string>Guard</string>
-        </tuple>
-        <none/>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -71,7 +68,7 @@ Base_viewWorklist?simulation_state=ordered&portal_type=Check Payment&reset=1
             <value>
               <tuple>
                 <string>Manager</string>
-                <string>Assignee</string>
+                <string>DestinationAssignor</string>
               </tuple>
             </value>
         </item>
@@ -81,17 +78,14 @@ Base_viewWorklist?simulation_state=ordered&portal_type=Check Payment&reset=1
   <record id="3" aka="AAAAAAAAAAM=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Persistence</string>
-          <string>PersistentMapping</string>
-        </tuple>
-        <none/>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_container</string> </key>
+            <key> <string>data</string> </key>
             <value>
               <dictionary>
                 <item>
diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision
index 5160788e93..e0da8ae09a 100644
--- a/bt5/erp5_banking_check/bt/revision
+++ b/bt5/erp5_banking_check/bt/revision
@@ -1 +1 @@
-307
\ No newline at end of file
+309
\ No newline at end of file
-- 
2.30.9