Commit 68ced9e6 authored by Tatuya Kamada's avatar Tatuya Kamada

Modify to use start_date and stop_date of the getAggregatedAmountList()...

Modify to use start_date and stop_date of the getAggregatedAmountList() result. These variables are picked up but not used.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33546 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 23ac1f96
...@@ -108,6 +108,8 @@ class PaymentSimulationRule(Rule, PredicateMatrix): ...@@ -108,6 +108,8 @@ class PaymentSimulationRule(Rule, PredicateMatrix):
# one for payable # one for payable
prevision_line = kw.copy() prevision_line = kw.copy()
prevision_line.update( prevision_line.update(
start_date=start_date,
stop_date=stop_date,
source=input_movement.getSource(), source=input_movement.getSource(),
destination=input_movement.getDestination(), destination=input_movement.getDestination(),
quantity=-quantity quantity=-quantity
...@@ -119,6 +121,8 @@ class PaymentSimulationRule(Rule, PredicateMatrix): ...@@ -119,6 +121,8 @@ class PaymentSimulationRule(Rule, PredicateMatrix):
payment_rule_cell_line = payment_rule_cell_line_list[0] payment_rule_cell_line = payment_rule_cell_line_list[0]
prevision_line = kw.copy() prevision_line = kw.copy()
prevision_line.update( prevision_line.update(
start_date=start_date,
stop_date=stop_date,
source=payment_rule_cell_line.getSource(), source=payment_rule_cell_line.getSource(),
destination=payment_rule_cell_line.getDestination(), destination=payment_rule_cell_line.getDestination(),
quantity=quantity quantity=quantity
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment