From 756cc0e71fae35d659ca58bec229d9fb64c88989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 24 Feb 2011 16:50:41 +0000 Subject: [PATCH] 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 --- product/ERP5/Document/SupplyLine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5/Document/SupplyLine.py b/product/ERP5/Document/SupplyLine.py index ea00f73441..414edc48cd 100644 --- a/product/ERP5/Document/SupplyLine.py +++ b/product/ERP5/Document/SupplyLine.py @@ -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 -- 2.30.9