projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89716cb
)
Revert "[FIX] mrp: chain product move and MO locations"
author
Denis Ledoux
<dle@odoo.com>
Wed, 5 Nov 2014 12:51:52 +0000
(13:51 +0100)
committer
Denis Ledoux
<dle@odoo.com>
Wed, 5 Nov 2014 12:51:52 +0000
(13:51 +0100)
This reverts commit
61a8971db510dbb0e087bba09858fe8b94c7b16d
.
This rev. is from a 7.0 forward port
b4d602fdd3379a0310ec0b9a56f9b88226
This is no longer needed in 8.0, with the new WMS
addons/mrp/mrp.py
patch
|
blob
|
history
diff --git
a/addons/mrp/mrp.py
b/addons/mrp/mrp.py
index
1efefca
..
2a59733
100644
(file)
--- a/
addons/mrp/mrp.py
+++ b/
addons/mrp/mrp.py
@@
-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.