Commit 0236b002 authored by Jérome Perrin's avatar Jérome Perrin

fix previous commit for default handling in getPrice



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10398 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3d03c2fa
......@@ -259,7 +259,7 @@ class Movement(XMLObject, Amount):
LOG('ERP5', WARNING, msg)
context = default
default = None
return self._getTotalPrice(default=default, context=self.asContext(context=context,
return self._getTotalPrice(context=self.asContext(context=context,
REQUEST=REQUEST, **kw),**kw)
security.declareProtected( Permissions.AccessContentsInformation,
......
......@@ -34,6 +34,7 @@ from DateTime import DateTime
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.XMLMatrix import XMLMatrix
from Products.ERP5Type.Base import Base
from Products.ERP5.Variated import Variated
from Products.ERP5.Core.Resource import Resource as CoreResource
......
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