From 58d8d88e28c480347effe9b5bb6565b78fe34542 Mon Sep 17 00:00:00 2001 From: "Jay (OpenERP)" Date: Mon, 4 Oct 2010 13:48:03 +0530 Subject: [PATCH] [FIX] Product : Corrected variable names lp bug: https://launchpad.net/bugs/653127 fixed bzr revid: jvo@tinyerp.com-20101004081803-zvv1050ygse3eb10 --- addons/product/pricelist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index a4b93827660..90d55d47251 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -222,7 +222,7 @@ class product_pricelist(osv.osv): price = 0.0 else: price_tmp = self.price_get(cr, uid, - [res['base_pricelist_id']], prod_id, + [res['base_pricelist_id']], product_id, qty)[res['base_pricelist_id']] ptype_src = self.browse(cr, uid, res['base_pricelist_id']).currency_id.id price = currency_obj.compute(cr, uid, ptype_src, res['currency_id'], price_tmp, round=False) @@ -388,7 +388,7 @@ class product_pricelist(osv.osv): price = 0.0 else: price_tmp = self.price_get(cr, uid, - [res['base_pricelist_id']], prod_id, + [res['base_pricelist_id']], product_id, qty)[res['base_pricelist_id']] ptype_src = self.browse(cr, uid, res['base_pricelist_id']).currency_id.id price = currency_obj.compute(cr, uid, ptype_src, res['currency_id'], price_tmp, round=False)