[Erp5-report] r14919 - /erp5/trunk/products/ERP5/Document/Resource.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jun 21 18:24:58 CEST 2007
Author: yo
Date: Thu Jun 21 18:24:57 2007
New Revision: 14919
URL: http://svn.erp5.org?rev=14919&view=rev
Log:
Use movement instead of context because the name conflicts with a parameter given by default.
Modified:
erp5/trunk/products/ERP5/Document/Resource.py
Modified: erp5/trunk/products/ERP5/Document/Resource.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Resource.py?rev=14919&r1=14918&r2=14919&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Resource.py (original)
+++ erp5/trunk/products/ERP5/Document/Resource.py Thu Jun 21 18:24:57 2007
@@ -656,7 +656,7 @@
# (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
More information about the Erp5-report
mailing list