Pass name parameter to super call of getter
issue10824 review383211002 (grafted from a2639d2639dc5a030f652bf47e54a95aab6c1413) --HG-- branch : 6.0
This commit is contained in:
1 parent
a175fa28ee
commit
8d7bd2f690
1 file changed
+1
-1
@@ -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])
|
||||
|
||||
Reference in new issue
Block a user