[Erp5-report] r32578 kazuhiko - /erp5/trunk/products/ERP5/Document/PaymentRule.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Feb 16 09:03:32 CET 2010
Author: kazuhiko
Date: Tue Feb 16 09:03:31 2010
New Revision: 32578
URL: http://svn.erp5.org?rev=32578&view=rev
Log:
here, passing business_path should be None, not input_movement.
Modified:
erp5/trunk/products/ERP5/Document/PaymentRule.py
Modified: erp5/trunk/products/ERP5/Document/PaymentRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PaymentRule.py?rev=32578&r1=32577&r2=32578&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaymentRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PaymentRule.py [utf8] Tue Feb 16 09:03:31 2010
@@ -70,8 +70,7 @@
return []
# Since we need to consider business_path only for bank movement,
# not for payable movement, we pass None as business_path here.
- kw = self._getExpandablePropertyDict(applied_rule, None,
- business_path)
+ kw = self._getExpandablePropertyDict(applied_rule, input_movement, None)
kw['start_date'] = business_path.getExpectedStartDate(input_movement)
kw['stop_date'] = business_path.getExpectedStopDate(input_movement)
quantity = business_path.getExpectedQuantity(input_movement)
More information about the Erp5-report
mailing list