details: https://code.tryton.org/tryton/commit/0971bc6034f5
branch: default
user: José Antonio Díaz Miralles <[email protected]>
date: Sat Dec 13 22:50:10 2025 +0100
description:
Use shipment select of stock move as selection for lot trace document
The document is filled with the inventory or shipment of the stock move.
Closes #14411
diffstat:
modules/stock_lot/stock.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 7dd08cf1ab62 -r 0971bc6034f5 modules/stock_lot/stock.py
--- a/modules/stock_lot/stock.py Sun Dec 14 14:11:30 2025 +0100
+++ b/modules/stock_lot/stock.py Sat Dec 13 22:50:10 2025 +0100
@@ -253,7 +253,7 @@
pool = Pool()
Model = pool.get('ir.model')
Move = pool.get('stock.move')
- return Move.get_origin() + [
+ return Move.get_shipment() + [
('stock.inventory', Model.get_name('stock.inventory'))]
@classmethod