bugfix
lp bug: https://launchpad.net/bugs/338240 fixed bzr revid: hda@hda-20090309133504-ljtd7nqbex4hvi4c
This commit is contained in:
parent
5402219128
commit
bad5f0ab56
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue