[Erp5-report] r33546 tatuya - /erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 10 04:59:43 CET 2010


Author: tatuya
Date: Wed Mar 10 04:59:42 2010
New Revision: 33546

URL: http://svn.erp5.org?rev=33546&view=rev
Log:
Modify to use start_date and stop_date of the getAggregatedAmountList() result. These variables are picked up but not used.

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

Modified: erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py?rev=33546&r1=33545&r2=33546&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py [utf8] Wed Mar 10 04:59:42 2010
@@ -108,6 +108,8 @@
         # one for payable
         prevision_line = kw.copy()
         prevision_line.update(
+          start_date=start_date,
+          stop_date=stop_date,
           source=input_movement.getSource(),
           destination=input_movement.getDestination(),
           quantity=-quantity
@@ -119,6 +121,8 @@
         payment_rule_cell_line = payment_rule_cell_line_list[0]
         prevision_line = kw.copy()
         prevision_line.update(
+          start_date=start_date,
+          stop_date=stop_date,
           source=payment_rule_cell_line.getSource(),
           destination=payment_rule_cell_line.getDestination(),
           quantity=quantity




More information about the Erp5-report mailing list