From 86fa02d196bb95642744893a245f224df42c2d95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 19 Jul 2006 09:28:41 +0000
Subject: [PATCH] bt properties changes and portal types modification

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8543 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../base_category_list.xml                         |  5 +++++
 .../portal_types/Checkbook%20Reception%20Line.xml  | 14 ++++++++++++--
 bt5/erp5_banking_check/bt/change_log               |  3 ---
 .../bt/template_portal_type_base_category_list     |  1 +
 4 files changed, 18 insertions(+), 5 deletions(-)
 create mode 100644 bt5/erp5_banking_check/PortalTypeBaseCategoryTemplateItem/base_category_list.xml

diff --git a/bt5/erp5_banking_check/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_banking_check/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
new file mode 100644
index 0000000000..4a4942a977
--- /dev/null
+++ b/bt5/erp5_banking_check/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
@@ -0,0 +1,5 @@
+<base_category_list>
+ <portal_type id="Checkbook Reception Line">
+  <item>check_amount</item>
+ </portal_type>
+</base_category_list>
\ No newline at end of file
diff --git a/bt5/erp5_banking_check/PortalTypeTemplateItem/portal_types/Checkbook%20Reception%20Line.xml b/bt5/erp5_banking_check/PortalTypeTemplateItem/portal_types/Checkbook%20Reception%20Line.xml
index 001bb68e7a..f379c32a6c 100644
--- a/bt5/erp5_banking_check/PortalTypeTemplateItem/portal_types/Checkbook%20Reception%20Line.xml
+++ b/bt5/erp5_banking_check/PortalTypeTemplateItem/portal_types/Checkbook%20Reception%20Line.xml
@@ -42,6 +42,10 @@
               <list/>
             </value>
         </item>
+        <item>
+            <key> <string>acquire_local_roles</string> </key>
+            <value> <int>1</int> </value>
+        </item>
         <item>
             <key> <string>allowed_action_list</string> </key>
             <value>
@@ -66,7 +70,7 @@
         </item>
         <item>
             <key> <string>content_meta_type</string> </key>
-            <value> <string>ERP5 Delivery Line</string> </value>
+            <value> <string>ERP5Banking Cash Delivery Line</string> </value>
         </item>
         <item>
             <key> <string>description</string> </key>
@@ -79,7 +83,7 @@
         </item>
         <item>
             <key> <string>factory</string> </key>
-            <value> <string>addDeliveryLine</string> </value>
+            <value> <string>addCashDeliveryLine</string> </value>
         </item>
         <item>
             <key> <string>filter_actions</string> </key>
@@ -89,6 +93,12 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_banking_check/bt/change_log b/bt5/erp5_banking_check/bt/change_log
index ede722e760..549f3bdd90 100644
--- a/bt5/erp5_banking_check/bt/change_log
+++ b/bt5/erp5_banking_check/bt/change_log
@@ -1,6 +1,3 @@
-2006-07-06 Seb
-* Added checkbook reception
-
 2006-04-12 aurel
 * move some skins
 
diff --git a/bt5/erp5_banking_check/bt/template_portal_type_base_category_list b/bt5/erp5_banking_check/bt/template_portal_type_base_category_list
index e69de29bb2..6ad5186587 100644
--- a/bt5/erp5_banking_check/bt/template_portal_type_base_category_list
+++ b/bt5/erp5_banking_check/bt/template_portal_type_base_category_list
@@ -0,0 +1 @@
+Checkbook Reception Line | check_amount
\ No newline at end of file
-- 
2.30.9