[FIX] stock, sale_stock: changed the way the procurements look for a suitable rule...
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>
Tue, 22 Oct 2013 12:06:05 +0000 (14:06 +0200)
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>
Tue, 22 Oct 2013 12:06:05 +0000 (14:06 +0200)
commit441d0bc0093c8924828c04b97eefbdfb7b94a55b
tree5945e5290daacd765989fa107b9fb76582107e09
parent52cfccf2cedf694e5c3ab4f51694300e20788191
[FIX] stock, sale_stock: changed the way the procurements look for a suitable rule => Added a m2o field warehouse_id on procurement.order, procurement.rule and stock.move. There was a problem with MTO products because they weren't following the route of the chosen warehouse at all (since all warehouse were creating their rule in the same route, there was no garantee that the route chosen was included in the warehouse selected on the SO)

bzr revid: qdp-launchpad@openerp.com-20131022120605-3dj65nm5yc96sj5r
addons/sale_stock/sale_stock.py
addons/stock/procurement.py
addons/stock/stock.py
addons/stock/stock_view.xml