Commit c2042d82 authored by Nicolas Delaby's avatar Nicolas Delaby

revert 25010

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25011 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 45148776
...@@ -114,14 +114,6 @@ class AccountingTransaction(Delivery): ...@@ -114,14 +114,6 @@ class AccountingTransaction(Delivery):
text_list.append(str(prop)) text_list.append(str(prop))
return ' '.join(text_list) return ' '.join(text_list)
def manage_afterClone(self, transaction):
Delivery.manage_afterClone(self, transaction)
#Clean some properties
if getattr(aq_base(self), 'source_reference', None) is not None:
delattr(self, 'source_reference')
if getattr(aq_base(self), 'destination_reference', None) is not None:
delattr(self, 'destination_reference')
# Compatibility # Compatibility
# It may be necessary to create an alias after removing the Transaction class # It may be necessary to create an alias after removing the Transaction class
# Products.ERP5Type.Document.Transaction = AccountingTransaction # 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