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
This commit is contained in:
@@ -253,7 +253,7 @@ class LotTrace(ModelSQL, ModelView):
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user