Commit e7dd0457 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not store price automatically. This will be done by an interaction workflow.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17270 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3505f7a8
......@@ -276,9 +276,6 @@ class Movement(XMLObject, Amount):
if local_price is None:
# We must find a price for this movement
local_price = self._getPrice(context=self)
# And store it localy
if local_price is not None:
self.setPrice(local_price)
return local_price
security.declareProtected( Permissions.AccessContentsInformation,
......
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