[FIX] stock: set package after validation

- Activate the packaging
- Show detailed operation of receipts
- Create a receipt for some products
- Validate
- Unlock the picking
- Set a Destination Package, save

The product doesn't appear in the package.

The trigger was incorrectly removed in 8750d6a97954e59259d and
507101434f9221f2cfa6d.

opw-2299529

closes odoo/odoo#54908

X-original-commit: aeb969a0f0b1786a2303906352931229b2f63bb9
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
Nicolas Martinelli
2020-07-24 12:28:43 +00:00
parent 4cddc49760
commit 3a2623ac2a
+1
View File
@@ -237,6 +237,7 @@ class StockMoveLine(models.Model):
('location_dest_id', 'stock.location'),
('lot_id', 'stock.production.lot'),
('package_id', 'stock.quant.package'),
('result_package_id', 'stock.quant.package'),
('owner_id', 'res.partner')
]
updates = {}