diff --git a/product/ERP5/Document/TradeCondition.py b/product/ERP5/Document/TradeCondition.py index 261df4642058065794bef79efd14df3b09d9e73a..3d4744d4c96d6e5912c0bca7e585e025d4b303ec 100644 --- a/product/ERP5/Document/TradeCondition.py +++ b/product/ERP5/Document/TradeCondition.py @@ -225,7 +225,7 @@ class TradeCondition(Path, Transformation, XMLMatrix): self.getTradeModelLineComposedList(context) need_to_run = 1 - while need_to_run: + while need_to_run: # XXX Dangerous code. This can leed to infinite loop need_to_run = 0 for model_line in trade_model_line_composed_list: model_line_result = model_line.getAggregatedAmountList(context,