diff --git a/stock.py b/stock.py index 9f3ca40826..881f42082c 100644 --- a/stock.py +++ b/stock.py @@ -339,7 +339,7 @@ class QuantityEarlyPlanProduction(metaclass=PoolMeta): def get_moves(self, name): pool = Pool() Production = pool.get('production') - moves = super().get_moves() + moves = super().get_moves(name) if isinstance(self.origin, Production): for move in self.origin.inputs + self.origin.outputs: moves.extend([p.id for p in move.quantity_early_plans])