Revert "[FIX] mrp: chain product move and MO locations"
This reverts commit 61a8971db5
.
This rev. is from a 7.0 forward port b4d602fdd3379a0310ec0b9a56f9b88226
This is no longer needed in 8.0, with the new WMS
This commit is contained in:
parent
89716cb4d6
commit
3a7dffd6cc
|
@ -1053,8 +1053,6 @@ class mrp_production(osv.osv):
|
|||
'production_id': production.id,
|
||||
'origin': production.name,
|
||||
}
|
||||
if production.move_prod_id:
|
||||
production.move_prod_id.write({'location_id': destination_location_id})
|
||||
move_id = stock_move.create(cr, uid, data, context=context)
|
||||
#a phantom bom cannot be used in mrp order so it's ok to assume the list returned by action_confirm
|
||||
#is 1 element long, so we can take the first.
|
||||
|
|
Loading…
Reference in New Issue