summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqdp <>2008-04-30 05:13:00 +0000
committerqdp <>2008-04-30 05:13:00 +0000
commit3d0a02db3c771fccb1c905d24ea32d4dbc9a455e (patch)
tree523a9b8584425187c9df19926aa193c79335fe53
parent083e5ea72aa2c5f5ff8f1b858876623d495ea77f (diff)
bugfix
bzr revid: qdp-0d9730695e608648473ca7656c11566b0ff00460
-rw-r--r--addons/product/pricelist.py2
1 files changed, 1 insertions, 1 deletions
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],