From 08c4fb9942f7fc6a2bfd901ff06b1d9e45f36d7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 9 Feb 2006 12:10:41 +0000
Subject: [PATCH] make Bank Account and Credit Card member of node payment
 portal type group

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5644 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Bank%20Account.xml           |  4 ++-
 .../portal_types/Credit%20Card.xml            | 27 +++++++++++++++++--
 2 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml
index 59c16dfd9e..a1a0752e31 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml
@@ -83,7 +83,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>payment_node</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Credit%20Card.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Credit%20Card.xml
index 003a980c14..c1bdcea367 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Credit%20Card.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Credit%20Card.xml
@@ -36,6 +36,10 @@
               <list/>
             </value>
         </item>
+        <item>
+            <key> <string>acquire_local_roles</string> </key>
+            <value> <int>1</int> </value>
+        </item>
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
@@ -58,8 +62,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>\n
-      A bank account number holds a collection of numbers and codes\n
+            <value> <string>      A bank account number holds a collection of numbers and codes\n
         (ex. SWIFT, RIB, etc.) which may be used to identify a bank account.\n
 \n
       A Bank Account is owned by a Person or an Organisation. A Bank Account\n
@@ -73,6 +76,18 @@
             <key> <string>factory</string> </key>
             <value> <string>addBankAccount</string> </value>
         </item>
+        <item>
+            <key> <string>filter_content_types</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>payment_node</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
@@ -83,12 +98,20 @@
             <key> <string>id</string> </key>
             <value> <string>Credit Card</string> </value>
         </item>
+        <item>
+            <key> <string>init_script</string> </key>
+            <value> <string></string> </value>
+        </item>
         <item>
             <key> <string>property_sheet_list</string> </key>
             <value>
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
-- 
2.30.9