[FIX] mrp_subcontracting: change resupply subcontractor source location
In this commit the resupply subcontractor source location is changed from virtual production to WH/stock Task id: 3263796 closes odoo/odoo#120727 X-original-commit: 13f078e4c27767b43740a80bf405e71e91348017 Signed-off-by: Tiffany Chang <tic@odoo.com>
This commit is contained in:
@@ -184,7 +184,7 @@ class StockWarehouse(models.Model):
|
||||
'default_location_dest_id': production_location_id.id,
|
||||
},
|
||||
'subcontracting_resupply_type_id': {
|
||||
'default_location_src_id': production_location_id.id,
|
||||
'default_location_src_id': self.lot_stock_id.id,
|
||||
'default_location_dest_id': subcontract_location_id.id,
|
||||
'barcode': self.code.replace(" ", "").upper() + "-RESUPPLY",
|
||||
'active': self.subcontracting_to_resupply and self.active
|
||||
|
||||
Reference in New Issue
Block a user