[FIX] procurement: order points must procure goods in the specifiedt warehouse
The default warehouse picked by procurements only works for companies that only have on warehouse bzr revid: odo@openerp.com-20131112130612-brmazfdghrh1ck7x
This commit is contained in:
@@ -197,6 +197,7 @@ class procurement_order(osv.osv):
|
||||
'company_id': orderpoint.company_id.id,
|
||||
'product_uom': orderpoint.product_uom.id,
|
||||
'location_id': orderpoint.location_id.id,
|
||||
'warehouse_id': orderpoint.warehouse_id.id,
|
||||
'procure_method': 'make_to_order',
|
||||
'origin': orderpoint.name}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user