diff --git a/inventory.py b/inventory.py index dced093dc0..0ef922f845 100644 --- a/inventory.py +++ b/inventory.py @@ -205,6 +205,9 @@ class Inventory(Workflow, ModelSQL, ModelView): grouping = cls.grouping() to_create, to_write = [], [] for inventory in inventories: + # Once done computation is wrong because include created moves + if inventory.state == 'done': + continue # Compute product quantities if fill: product_ids = None