lp bug: https://launchpad.net/bugs/338240 fixed

bzr revid: hda@hda-20090309133504-ljtd7nqbex4hvi4c
This commit is contained in:
husen daudi 2009-03-09 19:05:04 +05:30
parent 5402219128
commit bad5f0ab56
1 changed files with 2 additions and 0 deletions

View File

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