Commit e5cb4788 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not include None as the item of payment condition list.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32990 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ed421035
......@@ -63,7 +63,7 @@ class PaymentSimulationRule(Rule, PredicateMatrix):
movement_and_tuple_list = self._getInputMovementAndPathTupleList(
applied_rule)
input_movement = movement_and_tuple_list[0][0]
payment_condition_list = [x[1] for x in movement_and_tuple_list]
payment_condition_list = [x[1] for x in movement_and_tuple_list if x[1] is not None]
kw = self._getExpandablePropertyDict(applied_rule, input_movement, None)
prevision_list = []
......
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