From a06212124983f7869fb23e4bbfc62cc8d5251f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 21 Jul 2026 19:14:20 +0200 Subject: [PATCH] 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 --- modules/stock_lot/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stock_lot/stock.py b/modules/stock_lot/stock.py index 077fe78cb2..2b61108fd8 100644 --- a/modules/stock_lot/stock.py +++ b/modules/stock_lot/stock.py @@ -126,7 +126,7 @@ class Lot(DeactivableMixin, ModelSQL, ModelView, LotMixin, StockMixin): pool = Pool() Move = pool.get('stock.move') - def find_moves(cls, state=None): + def find_moves(state=None): domain = [ ('lot', 'in', lots) ]