From 8d7bd2f6905f3b4b3bcc101e35fadd8ac1d5443d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 15 Oct 2021 19:14:03 +0200 Subject: [PATCH] Pass name parameter to super call of getter issue10824 review383211002 (grafted from a2639d2639dc5a030f652bf47e54a95aab6c1413) --HG-- branch : 6.0 --- stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])