From 5f64d10a4d9aa718eea9ce34675f4177ffe73263 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Mon, 2 Jul 2007 16:35:26 +0000
Subject: [PATCH] add proxy role for line creation and edition

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15115 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../scripts/createBankingOperationLine.xml                | 8 ++++++++
 bt5/erp5_banking_cash/bt/revision                         | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/incident_workflow/scripts/createBankingOperationLine.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/incident_workflow/scripts/createBankingOperationLine.xml
index f0eb1ac95b..2d14007839 100644
--- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/incident_workflow/scripts/createBankingOperationLine.xml
+++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/incident_workflow/scripts/createBankingOperationLine.xml
@@ -89,6 +89,14 @@ movement = transaction.newContent(portal_type=\'Banking Operation Line\',\n
             <key> <string>_params</string> </key>
             <value> <string>state_change</string> </value>
         </item>
+        <item>
+            <key> <string>_proxy_roles</string> </key>
+            <value>
+              <tuple>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>errors</string> </key>
             <value>
diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision
index c954f9c644..43f9cb6413 100644
--- a/bt5/erp5_banking_cash/bt/revision
+++ b/bt5/erp5_banking_cash/bt/revision
@@ -1 +1 @@
-394
\ No newline at end of file
+396
\ No newline at end of file
-- 
2.30.9