details: https://code.tryton.org/tryton/commit/3cb38ab5ba4a
branch: default
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
diffstat:
modules/stock_lot/stock.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2b4cfc5dd628 -r 3cb38ab5ba4a 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)
]