[Erp5-report] r35598 yo - /erp5/trunk/products/ERP5/Document/Movement.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue May 25 08:12:59 CEST 2010
Author: yo
Date: Tue May 25 08:12:48 2010
New Revision: 35598
URL: http://svn.erp5.org?rev=35598&view=rev
Log:
Fix a mistake in the previous commit.
Modified:
erp5/trunk/products/ERP5/Document/Movement.py
Modified: erp5/trunk/products/ERP5/Document/Movement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Movement.py?rev=35598&r1=35597&r2=35598&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Movement.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Movement.py [utf8] Tue May 25 08:12:48 2010
@@ -228,7 +228,7 @@
def _getBaseUnitPrice(self, context):
# Override Amount._getBaseUnitPrice to use Movement's
# getPriceCalculationOperandDict instead of Resource's.
- operand_dict = context.getPriceParameterDict(context=context)
+ operand_dict = context.getPriceCalculationOperandDict(context=context)
if operand_dict is not None:
base_unit_price = operand_dict.get('base_unit_price', None)
return base_unit_price
More information about the Erp5-report
mailing list