details: https://code.tryton.org/tryton/commit/2cd919f49a26
branch: 8.0
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 bad51b82be2d -r 2cd919f49a26 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
@@ -126,7 +126,7 @@
pool = Pool()
Move = pool.get('stock.move')
- def find_moves(cls, state=None):
+ def find_moves(state=None):
domain = [
('lot', 'in', lots)
]