From 5c2ba5d8c8fd35c55e9e67156d03b34d9dc5220b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 28 Mar 2008 14:07:38 +0000
Subject: [PATCH] Associate AccountingTransaction property sheet on portal type
 (it's no longer on the class)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20197 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../property_sheet_list.xml                       | 15 +++++++++++++++
 bt5/erp5_accounting/bt/revision                   |  2 +-
 .../bt/template_portal_type_property_sheet_list   |  7 ++++++-
 .../property_sheet_list.xml                       |  5 +++++
 bt5/erp5_payroll/bt/revision                      |  2 +-
 .../bt/template_portal_type_property_sheet_list   |  1 +
 6 files changed, 29 insertions(+), 3 deletions(-)
 create mode 100644 bt5/erp5_payroll/PortalTypePropertySheetTemplateItem/property_sheet_list.xml

diff --git a/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
index d292b9ca19..8376d8e81e 100644
--- a/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
+++ b/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
@@ -1,5 +1,20 @@
 <property_sheet_list>
+ <portal_type id="Accounting Transaction">
+  <item>AccountingTransaction</item>
+ </portal_type>
+ <portal_type id="Balance Transaction">
+  <item>AccountingTransaction</item>
+ </portal_type>
  <portal_type id="Cash Register">
   <item>BankAccount</item>
  </portal_type>
+ <portal_type id="Payment Transaction">
+  <item>AccountingTransaction</item>
+ </portal_type>
+ <portal_type id="Purchase Invoice Transaction">
+  <item>AccountingTransaction</item>
+ </portal_type>
+ <portal_type id="Sale Invoice Transaction">
+  <item>AccountingTransaction</item>
+ </portal_type>
 </property_sheet_list>
\ No newline at end of file
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 8e3d0d813a..3114067d5d 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-663
\ No newline at end of file
+664
\ No newline at end of file
diff --git a/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list b/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list
index 9a3df4be88..56c5de53a7 100644
--- a/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list
+++ b/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list
@@ -1 +1,6 @@
-Cash Register | BankAccount
\ No newline at end of file
+Accounting Transaction | AccountingTransaction
+Balance Transaction | AccountingTransaction
+Cash Register | BankAccount
+Payment Transaction | AccountingTransaction
+Purchase Invoice Transaction | AccountingTransaction
+Sale Invoice Transaction | AccountingTransaction
\ No newline at end of file
diff --git a/bt5/erp5_payroll/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_payroll/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
new file mode 100644
index 0000000000..408264ab11
--- /dev/null
+++ b/bt5/erp5_payroll/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
@@ -0,0 +1,5 @@
+<property_sheet_list>
+ <portal_type id="Pay Sheet Transaction">
+  <item>AccountingTransaction</item>
+ </portal_type>
+</property_sheet_list>
\ No newline at end of file
diff --git a/bt5/erp5_payroll/bt/revision b/bt5/erp5_payroll/bt/revision
index 565f1b06a1..7df2addf7b 100644
--- a/bt5/erp5_payroll/bt/revision
+++ b/bt5/erp5_payroll/bt/revision
@@ -1 +1 @@
-231
\ No newline at end of file
+232
\ No newline at end of file
diff --git a/bt5/erp5_payroll/bt/template_portal_type_property_sheet_list b/bt5/erp5_payroll/bt/template_portal_type_property_sheet_list
index e69de29bb2..5e14bd2c55 100644
--- a/bt5/erp5_payroll/bt/template_portal_type_property_sheet_list
+++ b/bt5/erp5_payroll/bt/template_portal_type_property_sheet_list
@@ -0,0 +1 @@
+Pay Sheet Transaction | AccountingTransaction
\ No newline at end of file
-- 
2.30.9