Commit 756cc0e7 authored by Jérome Perrin's avatar Jérome Perrin

this kind of code is now done by interaction workflows. For now, add a TODO


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43689 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d249dcb1
...@@ -73,6 +73,7 @@ class SupplyLine(Path, Amount, XMLMatrix): ...@@ -73,6 +73,7 @@ class SupplyLine(Path, Amount, XMLMatrix):
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getPrice') 'getPrice')
def getPrice(self): def getPrice(self):
# FIXME: this have to be done in an interaction wf
if getattr(self, 'price', None) is None: if getattr(self, 'price', None) is None:
self.price = 0.0 self.price = 0.0
# Return the price # Return the price
......
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