diff --git a/product/ERP5/Document/TradeModelLine.py b/product/ERP5/Document/TradeModelLine.py index 3043c54ea6eb07504b308a45f02d6786469d0e3a..7b06dad4d4e86ed662b5ebab511f5309ad3c99b2 100644 --- a/product/ERP5/Document/TradeModelLine.py +++ b/product/ERP5/Document/TradeModelLine.py @@ -155,7 +155,7 @@ class TradeModelLine(Predicate, XMLMatrix, Amount): amount.getProperty('create_line')): movement_like_amount_list.append(amount) else: - temporary_aggregated_amount_list(amount) + temporary_aggregated_amount_list.append(amount) for movement in (movement_list + movement_like_amount_list): result.extend(self._getAggregatedAmountList( context, [movement], temporary_aggregated_amount_list,