[IMP] project_gtd : Used the tools.ustr() instead of unicode utf-8
bzr revid: amp@tinyerp.com-20120502133521-ohn7xh1vl7xlbewm
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'] = unicode(res['arch'], 'utf-8').replace('<separator name="gtdsep"/>', search_extended)
|
||||
res['arch'] = tools.ustr(res['arch']).replace('<separator name="gtdsep"/>', search_extended)
|
||||
|
||||
return res
|
||||
|
||||
|
||||
Reference in New Issue
Block a user