From 3d0a02db3c771fccb1c905d24ea32d4dbc9a455e Mon Sep 17 00:00:00 2001 From: qdp <> Date: Wed, 30 Apr 2008 05:13:00 +0000 Subject: [PATCH] bugfix bzr revid: qdp-0d9730695e608648473ca7656c11566b0ff00460 --- addons/product/pricelist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index 837ea3e8ebb..aabe02816e3 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -202,7 +202,7 @@ class product_pricelist(osv.osv): if res2: price = res2['price'] else: - price_type = price_type_obj.browse(cr, uid, res['base']) + price_type = price_type_obj.browse(cr, uid, int(res['base'])) price = currency_obj.compute(cr, uid, price_type.currency_id.id, res['currency_id'], product_obj.price_get(cr, uid, [prod_id],