diff --git a/product/ERP5/Document/TradeCondition.py b/product/ERP5/Document/TradeCondition.py index 3f9bedb55f8c849da35ad2033dc98afb2a87b143..b6fd695f7dba7de9b4d1450ee5b2da8239e9d5b2 100644 --- a/product/ERP5/Document/TradeCondition.py +++ b/product/ERP5/Document/TradeCondition.py @@ -93,8 +93,8 @@ class TradeCondition(Path, Transformation, XMLMatrix): # check if the movement is a generated one or entered by the user. # If it has been entered by user, keep it. if not movement.getBaseApplicationList(): - keep_movement = True continue + for amount in aggregated_amount_list: # if movement is generated and if not exist, append to delete list update_kw = {}