diff --git a/stock.py b/stock.py index 1cc988d9df..4e53710ede 100644 --- a/stock.py +++ b/stock.py @@ -141,6 +141,7 @@ class Move: cost_price = move.cost_price yield (move, qty, cost_price) + consumed_qty += qty @classmethod def update_anglo_saxon_quantity_product_cost(cls, product, moves,