From 0bed10fa7fc506874a6eb5121293140dbd85857c Mon Sep 17 00:00:00 2001 From: "Chandni Machchhar(OpenERP Trainee)" <> Date: Mon, 1 Jul 2013 16:45:43 +0530 Subject: [PATCH] [FIX] fix the translation issue bzr revid: psi@tinyerp.com-20130701111543-7lgfuf230088gce2 --- addons/sale_stock/sale_stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_stock/sale_stock.py b/addons/sale_stock/sale_stock.py index 1cf6f87f4b0..50e0112fec2 100644 --- a/addons/sale_stock/sale_stock.py +++ b/addons/sale_stock/sale_stock.py @@ -600,7 +600,7 @@ class sale_order_line(osv.osv): #check if product is available, and if not: raise an error uom2 = False if uom: - uom2 = product_uom_obj.browse(cr, uid, uom) + uom2 = product_uom_obj.browse(cr, uid, uom, context=context) if product_obj.uom_id.category_id.id != uom2.category_id.id: uom = False if not uom2: