From 97ae9f17a527d6c80e5fdf521494078d22ed71ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 23 Jul 2008 11:21:10 +0000
Subject: [PATCH] Add modules to module group and associate business
 application category to modules

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22625 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../base_category_list.xml                             |  4 ++++
 .../portal_types/Pay%20Sheet%20Model%20Module.xml      |  6 ++++++
 .../portal_types/Payroll%20Service%20Module.xml        | 10 +++++++++-
 bt5/erp5_payroll/bt/revision                           |  2 +-
 .../bt/template_portal_type_base_category_list         |  2 ++
 5 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_payroll/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_payroll/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
index 751f6aacf2..acee1ae3c6 100644
--- a/bt5/erp5_payroll/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+++ b/bt5/erp5_payroll/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
@@ -9,6 +9,9 @@
   <item>base_amount</item>
   <item>tax_category</item>
  </portal_type>
+ <portal_type id="Pay Sheet Model Module">
+  <item>business_application</item>
+ </portal_type>
  <portal_type id="Pay Sheet Model Slice">
   <item>salary_range</item>
   <item>product_line</item>
@@ -23,5 +26,6 @@
  </portal_type>
  <portal_type id="Payroll Service Module">
   <item>role</item>
+  <item>business_application</item>
  </portal_type>
 </base_category_list>
\ No newline at end of file
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Module.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Module.xml
index 7802d6b866..872d2c7c56 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Module.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Module.xml
@@ -147,6 +147,12 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Payroll%20Service%20Module.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Payroll%20Service%20Module.xml
index 91d3bb2e0f..75ff726839 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Payroll%20Service%20Module.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Payroll%20Service%20Module.xml
@@ -97,7 +97,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>module</string>
+              </tuple>
             </value>
         </item>
         <item>
@@ -128,6 +130,12 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_payroll/bt/revision b/bt5/erp5_payroll/bt/revision
index e0da8ae09a..3bac779c0a 100644
--- a/bt5/erp5_payroll/bt/revision
+++ b/bt5/erp5_payroll/bt/revision
@@ -1 +1 @@
-309
\ No newline at end of file
+310
\ No newline at end of file
diff --git a/bt5/erp5_payroll/bt/template_portal_type_base_category_list b/bt5/erp5_payroll/bt/template_portal_type_base_category_list
index 3516c78686..76295c68bd 100644
--- a/bt5/erp5_payroll/bt/template_portal_type_base_category_list
+++ b/bt5/erp5_payroll/bt/template_portal_type_base_category_list
@@ -4,10 +4,12 @@ Pay Sheet Cell | tax_category
 Pay Sheet Line | base_amount
 Pay Sheet Line | salary_range
 Pay Sheet Line | tax_category
+Pay Sheet Model Module | business_application
 Pay Sheet Model Slice | product_line
 Pay Sheet Model Slice | salary_range
 Pay Sheet Model Slice | tax_category
 Pay Sheet Transaction | quantity_unit
 Pay Sheet Transaction | specialise
+Payroll Service Module | business_application
 Payroll Service Module | role
 Payroll Service | base_amount
\ No newline at end of file
-- 
2.30.9