changeset a2639d2639dc in modules/stock_quantity_early_planning:default
details: 
https://hg.tryton.org/modules/stock_quantity_early_planning?cmd=changeset&node=a2639d2639dc
description:
        Pass name parameter to super call of getter

        issue10824
        review383211002
diffstat:

 stock.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 427c0d552da2 -r a2639d2639dc stock.py
--- a/stock.py  Fri Oct 15 19:12:36 2021 +0200
+++ b/stock.py  Fri Oct 15 19:14:03 2021 +0200
@@ -345,7 +345,7 @@
     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])

Reply via email to