[Erp5-report] r10096 - /erp5/trunk/products/ERP5/Document/AccountingTransaction.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Sep 18 14:45:57 CEST 2006
Author: jp
Date: Mon Sep 18 14:45:55 2006
New Revision: 10096
URL: http://svn.erp5.org?rev=10096&view=rev
Log:
Additional comments
Modified:
erp5/trunk/products/ERP5/Document/AccountingTransaction.py
Modified: erp5/trunk/products/ERP5/Document/AccountingTransaction.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/AccountingTransaction.py?rev=10096&r1=10095&r2=10096&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/AccountingTransaction.py (original)
+++ erp5/trunk/products/ERP5/Document/AccountingTransaction.py Mon Sep 18 14:45:55 2006
@@ -68,7 +68,7 @@
def manage_beforeDelete(self, item, container):
"""
Accounting transactions can only be deleted
- in draft or cancelled state
+ in draft or cancelled state
"""
if self.getSimulationState() not in ("draft", "cancelled") :
from OFS.ObjectManager import BeforeDeleteException
@@ -79,6 +79,7 @@
def manage_afterClone(self, item):
# Reset reference on paste
# XXX This implementation is quite bad because it is not generic
+ # it is related to the general problem of "what should I reset after paste"
if self.getReference != None:
self.setReference(None)
AccountingTransaction.manage_afterClone(self, item)
More information about the Erp5-report
mailing list