details:   https://code.tryton.org/tryton/commit/f5b94119f708
branch:    7.8
user:      Cédric Krier <[email protected]>
date:      Tue Jul 21 19:14:20 2026 +0200
description:
        Remove unused class parameter in the function to find move for stock lot

        The function is called only when the state as parameter.

        Closes #14963
        (grafted from 3cb38ab5ba4a2321cab4bf5f2954e4842a1c733d)
diffstat:

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

diffs (12 lines):

diff -r 552786db996d -r f5b94119f708 modules/stock_lot/stock.py
--- a/modules/stock_lot/stock.py        Tue Jul 21 19:12:14 2026 +0200
+++ b/modules/stock_lot/stock.py        Tue Jul 21 19:14:20 2026 +0200
@@ -129,7 +129,7 @@
         pool = Pool()
         Move = pool.get('stock.move')
 
-        def find_moves(cls, state=None):
+        def find_moves(state=None):
             for sub_records in grouped_slice(lots):
                 domain = [
                     ('lot', 'in', [r.id for r in sub_records])

Reply via email to