[Erp5-report] r32543 tatuya - /erp5/trunk/products/ERP5/Document/Rule.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 15 13:35:47 CET 2010


Author: tatuya
Date: Mon Feb 15 13:35:46 2010
New Revision: 32543

URL: http://svn.erp5.org?rev=32543&view=rev
Log:
Fix to set a movement as the getExpectedQuantity() parameter bucause the method requires at least one parameter.

Modified:
    erp5/trunk/products/ERP5/Document/Rule.py

Modified: erp5/trunk/products/ERP5/Document/Rule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Rule.py?rev=32543&r1=32542&r2=32543&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Rule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Rule.py [utf8] Mon Feb 15 13:35:46 2010
@@ -590,7 +590,7 @@
         property_dict['%s_list' % base_category] = []
 
     # Amount
-    property_dict['quantity'] = business_path.getExpectedQuantity()
+    property_dict['quantity'] = business_path.getExpectedQuantity(movement)
 
     # Date
     if movement.getStartDate() == movement.getStopDate():




More information about the Erp5-report mailing list