bzr revid: fp@tinyerp.com-20081229163326-xnro852229r6hqzs
This commit is contained in:
Fabien Pinckaers 2008-12-29 17:33:26 +01:00
parent 9231286c74
commit be6cd6de77
1 changed files with 1 additions and 2 deletions

View File

@ -94,9 +94,8 @@ class product_pricelist(osv.osv):
def name_get(self, cr, uid, ids, context={}):
result= []
for pl in self.browse(cr, uid, ids, context):
name = str(pl.name) + ' ('+ str(pl.currency_id.name) + ')'
name = pl.name + ' ('+ pl.currency_id.name + ')'
result.append((pl.id,name))
return result