From ab0a42756f10d3f337f6f817ff2238259a47e7c7 Mon Sep 17 00:00:00 2001 From: Cedric Snauwaert Date: Wed, 29 Jan 2014 15:26:13 +0100 Subject: [PATCH] [FIX]orderpoint: when running scheduler, newly create procurement didn't had information about orderpoint warehouse lp bug: https://launchpad.net/bugs/1273316 fixed bzr revid: csn@openerp.com-20140129142613-zg3ysaklhf1r33w6 --- addons/stock/procurement.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/stock/procurement.py b/addons/stock/procurement.py index 96c05487192..2668520eb57 100644 --- a/addons/stock/procurement.py +++ b/addons/stock/procurement.py @@ -309,7 +309,8 @@ class procurement_order(osv.osv): 'company_id': orderpoint.company_id.id, 'product_uom': orderpoint.product_uom.id, 'location_id': orderpoint.location_id.id, - 'origin': orderpoint.name} + 'origin': orderpoint.name, + 'warehouse_id': orderpoint.warehouse_id.id} def _product_virtual_get(self, cr, uid, order_point): product_obj = self.pool.get('product.product')