Commit b56e4d2b authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use movement instead of context because the name conflicts with a parameter given by default.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14919 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93bd0efe
......@@ -656,7 +656,7 @@ class Resource(XMLMatrix, Variated):
# (i.e. a movement).
method = self._getTypeBasedMethod('getPrice')
if method is not None:
return method(default=default, context=context, REQUEST=REQUEST, **kw)
return method(default=default, movement=context, REQUEST=REQUEST, **kw)
# This below is used only if the type-based method is not
# available at all. We should provide the default implementation
......
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