From 1f76ed0159bd7e0ee005d08fc822787473b0e71e Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Fri, 27 Mar 2015 12:23:34 +0100 Subject: [PATCH] [FIX] stock: "Request procurement" wizard does not fill warehouse The function "make_procurement" must take into account the warehouse_id to create procurement. opw:631318 --- addons/stock/wizard/make_procurement_product.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/stock/wizard/make_procurement_product.py b/addons/stock/wizard/make_procurement_product.py index dbc15ad81a7..bef04a3db68 100644 --- a/addons/stock/wizard/make_procurement_product.py +++ b/addons/stock/wizard/make_procurement_product.py @@ -74,6 +74,7 @@ class make_procurement(osv.osv_memory): 'product_id': proc.product_id.id, 'product_qty': proc.qty, 'product_uom': proc.uom_id.id, + 'warehouse_id': proc.warehouse_id.id, 'location_id': wh.lot_stock_id.id, 'company_id': wh.company_id.id, })