Commit ba102d3c authored by Fabien Morin's avatar Fabien Morin

fix variable names


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27241 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9d041371
......@@ -161,12 +161,12 @@ class TradeCondition(Path, Transformation):
movement_list = []
while need_to_run:
need_to_run = 0
for model in trade_model_line_composed_list:
model_result = model.getAggregatedAmountList(context,
for model_line in trade_model_line_composed_list:
model_line_result = model_line.getAggregatedAmountList(context,
movement_list = movement_list,
current_aggregated_amount_list = result,
**kw)
result.extend(model_result)
result.extend(model_line_result)
if len(result) != len(movement_list):
# something was added
need_to_run = 1
......
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