Commit 8e7193dc authored by Sebastien Robin's avatar Sebastien Robin

added an important comment

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9613 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3a76b4e
...@@ -98,6 +98,7 @@ class Item(XMLObject, Amount, ImmobilisableItem): ...@@ -98,6 +98,7 @@ class Item(XMLObject, Amount, ImmobilisableItem):
local_price = self._baseGetPrice() local_price = self._baseGetPrice()
if local_price is None: if local_price is None:
# We must find a price for this movement # We must find a price for this movement
# XXX we should not set a resource on item
resource = self.getResourceValue() resource = self.getResourceValue()
if resource is not None: if resource is not None:
local_price = resource.getPrice(self.asContext( context=context, **kw)) local_price = resource.getPrice(self.asContext( context=context, **kw))
......
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