projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
083e5ea
)
bugfix
author
qdp
<>
Wed, 30 Apr 2008 05:13:00 +0000
(
05:13
+0000)
committer
qdp
<>
Wed, 30 Apr 2008 05:13:00 +0000
(
05:13
+0000)
bzr revid: qdp-
0d9730695e608648473ca7656c11566b0ff00460
addons/product/pricelist.py
patch
|
blob
|
history
diff --git
a/addons/product/pricelist.py
b/addons/product/pricelist.py
index
837ea3e
..
aabe028
100644
(file)
--- 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],