[MERGE] project_gtd: fix UnicodeDecodeError on GTD Task search view when user language is different than English
bzr revid: xal@openerp.com-20120426080703-ldsxdq0h4769rk8w
This commit is contained in:
@@ -115,7 +115,7 @@ class project_task(osv.osv):
|
||||
search_extended += '''<filter domain="[('timebox_id','=', ''' + str(time.id) + ''')]" icon="''' + icon + '''" string="''' + time.name + '''" context="{'user_invisible': True}"/>\n'''
|
||||
search_extended +='''<separator orientation="vertical"/>'''
|
||||
|
||||
res['arch'] = res['arch'].replace('<separator name="gtdsep"/>', search_extended)
|
||||
res['arch'] = unicode(res['arch'],'utf8').replace('<separator name="gtdsep"/>', search_extended)
|
||||
|
||||
return res
|
||||
|
||||
|
||||
Reference in New Issue
Block a user