From 6635b7ed0eb46d989578fbcab72fdf3c1304724c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 31 Jan 2011 15:46:43 +0000
Subject: [PATCH] Currency Exchange Cell have to acquire local roles

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42835 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Currency%20Exchange%20Cell.xml            | 24 ++++++++++++++++++-
 bt5/erp5_base/bt/revision                     |  2 +-
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml
index 52977156f8..933e971a2f 100644
--- a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml
+++ b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml
@@ -6,6 +6,10 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>acquire_local_roles</string> </key>
+            <value> <int>1</int> </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>order_line_icon.gif</string> </value>
@@ -32,12 +36,30 @@
         </item>
         <item>
             <key> <string>init_script</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>SupplyCell</string> </value>
+        </item>
+        <item>
+            <key> <string>type_mixin</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision
index 61721cab2a..bb18bf4e49 100644
--- a/bt5/erp5_base/bt/revision
+++ b/bt5/erp5_base/bt/revision
@@ -1 +1 @@
-938
\ No newline at end of file
+939
\ No newline at end of file
-- 
GitLab