Commit 9d115538 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

here, passing business_path should be None, not input_movement.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32578 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c57d5e46
......@@ -70,8 +70,7 @@ class PaymentRule(Rule):
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)
......
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