Commit ed02537e authored by Jérome Perrin's avatar Jérome Perrin

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
parent bc1ca5b4
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment