From 08f4ea2b2192796318ea0813f5bd7de9f25e5acd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 10 Sep 2007 08:25:16 +0000
Subject: [PATCH] Added Organisation | destination_section base category

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16200 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../base_category_list.xml                                  | 5 ++++-
 bt5/erp5_payroll/bt/comment                                 | 3 +++
 bt5/erp5_payroll/bt/description                             | 6 +-----
 bt5/erp5_payroll/bt/revision                                | 2 +-
 bt5/erp5_payroll/bt/template_portal_type_base_category_list | 1 +
 5 files changed, 10 insertions(+), 7 deletions(-)
 create mode 100644 bt5/erp5_payroll/bt/comment

diff --git a/bt5/erp5_payroll/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_payroll/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
index c27d681528..fd6641c026 100644
--- a/bt5/erp5_payroll/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+++ b/bt5/erp5_payroll/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
@@ -1,7 +1,10 @@
 <base_category_list>
+ <portal_type id="Organisation">
+  <item>destination_section</item>
+ </portal_type>
  <portal_type id="Pay Sheet Cell">
-  <item>tax_category</item>
   <item>product_line</item>
+  <item>tax_category</item>
   <item>salary_range</item>
  </portal_type>
  <portal_type id="Pay Sheet Line">
diff --git a/bt5/erp5_payroll/bt/comment b/bt5/erp5_payroll/bt/comment
new file mode 100644
index 0000000000..26a2e4665f
--- /dev/null
+++ b/bt5/erp5_payroll/bt/comment
@@ -0,0 +1,3 @@
+Actually this BT is too french-accounting centric. It must evolve to a general framework to handle paysheets of many differrent countries in the same instance of ERP5. Each piece of information and code related to local laws will be moved to other BTs (erp5_payroll_l10n_something).
+
+Note: this BT still depend on erp5_trade because Payroll Service Module was a fork of Service Module.
\ No newline at end of file
diff --git a/bt5/erp5_payroll/bt/description b/bt5/erp5_payroll/bt/description
index 297ffbbb64..4b0b7b2d9c 100644
--- a/bt5/erp5_payroll/bt/description
+++ b/bt5/erp5_payroll/bt/description
@@ -1,5 +1 @@
-An extension of the ERP5 accounting system to generate paysheets based on simple accounting rules.
-
-Actually this BT is too french-accounting centric. It must evolve to a general framework to handle paysheets of many differrent countries in the same instance of ERP5. Each piece of information and code related to local laws will be moved to other BTs (erp5_payroll_l10n_something).
-
-Note: this BT still depend on erp5_trade because Payroll Service Module was a fork of Service Module.
\ No newline at end of file
+An extension of the ERP5 accounting system to generate paysheets based on simple accounting rules.
\ No newline at end of file
diff --git a/bt5/erp5_payroll/bt/revision b/bt5/erp5_payroll/bt/revision
index b912dc118c..2bab4226fc 100644
--- a/bt5/erp5_payroll/bt/revision
+++ b/bt5/erp5_payroll/bt/revision
@@ -1 +1 @@
-155
\ No newline at end of file
+157
\ 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 a87ad11375..15e05f6bdd 100644
--- a/bt5/erp5_payroll/bt/template_portal_type_base_category_list
+++ b/bt5/erp5_payroll/bt/template_portal_type_base_category_list
@@ -1,3 +1,4 @@
+Organisation | destination_section
 Pay Sheet Cell | product_line
 Pay Sheet Cell | salary_range
 Pay Sheet Cell | tax_category
-- 
2.30.9