From 3557e7845a4b4774c086797874b74f2072a54318 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 (grafted from 3cb38ab5ba4a2321cab4bf5f2954e4842a1c733d) --HG-- branch : 8.0 --- 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) ]