[FIX] Remove the unicode function

bzr revid: stephane@tinyerp.com-20081211101753-9qgab643m504jnka
This commit is contained in:
Stephane Wirtel 2008-12-11 11:17:53 +01:00
parent 7b19f3ef8a
commit 8b42bf2887
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class ir_translation(osv.osv, Cacheable):
lang_ids = lang_obj.search(cr, uid, [('translatable', '=', True)],
context=context)
langs = lang_obj.browse(cr, uid, lang_ids, context=context)
res = [(lang.code, unicode(lang.name,'utf-8')) for lang in langs]
res = [(lang.code, lang.name) for lang in langs]
for lang_dict in tools.scan_languages():
if lang_dict not in res:
res.append(lang_dict)