Commit 3c33b7c7 authored by Jérome Perrin's avatar Jérome Perrin

fix undefined name


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18138 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0c912b3
......@@ -259,7 +259,7 @@ class Movement(XMLObject, Amount):
# context.getPrice(context=context)
# instead of:
# context.getPrice(context)
if isinstance(default, Base) and context is None:
if isinstance(default, Base):
msg = 'getPrice first argument is supposed to be the default value'\
' accessor, the context should be passed as with the context='\
' keyword argument'
......
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