[IMP] useability currencies name_get only return name
bzr revid: fp@tinyerp.com-20121124175433-0fro2ufrs3b9feev
This commit is contained in:
parent
70c499a4d8
commit
2a7a50dd3f
|
@ -127,7 +127,7 @@ class res_currency(osv.osv):
|
|||
if isinstance(ids, (int, long)):
|
||||
ids = [ids]
|
||||
reads = self.read(cr, uid, ids, ['name','symbol'], context=context, load='_classic_write')
|
||||
return [(x['id'], tools.ustr(x['name']) + (x['symbol'] and (' (' + tools.ustr(x['symbol']) + ')') or '')) for x in reads]
|
||||
return [(x['id'], tools.ustr(x['name'])) for x in reads]
|
||||
|
||||
def round(self, cr, uid, currency, amount):
|
||||
"""Return ``amount`` rounded according to ``currency``'s
|
||||
|
|
Loading…
Reference in New Issue