mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_quant_manual_assign: lot_id and package_id not populated automatically
This commit is contained in:
committed by
Cyril Gaudin
parent
98345109bd
commit
509fdbaa66
@@ -64,6 +64,8 @@ class AssignManualQuants(models.TransientModel):
|
||||
('reservation_id', '=', move.id)])
|
||||
quants_lines = [{
|
||||
'quant': x.id,
|
||||
'lot_id': x.lot_id.id,
|
||||
'package_id': x.package_id.id,
|
||||
'selected': x in move.reserved_quant_ids,
|
||||
'qty': x.qty if x in move.reserved_quant_ids else 0,
|
||||
'location_id': x.location_id.id,
|
||||
|
||||
Reference in New Issue
Block a user