From ed02537ea8515155f6bdb853a71b788fb99f2f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 28 Mar 2008 13:55:28 +0000 Subject: [PATCH] don't add AccountingTransaction at the class level because some unrelated portal types uses this class, and constraints cannot be applied to those classes. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20195 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/AccountingTransaction.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5/Document/AccountingTransaction.py b/product/ERP5/Document/AccountingTransaction.py index e10b504b73..bcd7d33889 100644 --- a/product/ERP5/Document/AccountingTransaction.py +++ b/product/ERP5/Document/AccountingTransaction.py @@ -64,7 +64,6 @@ class AccountingTransaction(Delivery): , PropertySheet.Reference , PropertySheet.Comment , PropertySheet.PaymentCondition - , PropertySheet.AccountingTransaction ) def hasSourceSectionAccounting(self): @@ -113,7 +112,7 @@ class AccountingTransaction(Delivery): if prop: text_list.append(str(prop)) return ' '.join(text_list) - + # Compatibility # It may be necessary to create an alias after removing the Transaction class # Products.ERP5Type.Document.Transaction = AccountingTransaction -- 2.30.9