[Erp5-report] r43689 jerome - /erp5/trunk/products/ERP5/Document/SupplyLine.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 24 17:50:41 CET 2011
Author: jerome
Date: Thu Feb 24 17:50:41 2011
New Revision: 43689
URL: http://svn.erp5.org?rev=43689&view=rev
Log:
this kind of code is now done by interaction workflows. For now, add a TODO
Modified:
erp5/trunk/products/ERP5/Document/SupplyLine.py
Modified: erp5/trunk/products/ERP5/Document/SupplyLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SupplyLine.py?rev=43689&r1=43688&r2=43689&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SupplyLine.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SupplyLine.py [utf8] Thu Feb 24 17:50:41 2011
@@ -73,6 +73,7 @@ class SupplyLine(Path, Amount, XMLMatrix
security.declareProtected(Permissions.AccessContentsInformation,
'getPrice')
def getPrice(self):
+ # FIXME: this have to be done in an interaction wf
if getattr(self, 'price', None) is None:
self.price = 0.0
# Return the price
More information about the Erp5-report
mailing list