[FIX] project_gtd : Fixes the unicode problem on my tasks fields_view_get
lp bug: https://launchpad.net/bugs/944761 fixed bzr revid: amp@tinyerp.com-20120331083835-ad1l6e4stzy2ia77
This commit is contained in:
parent
912c385ff9
commit
910e8a2adc
|
@ -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'], 'utf-8').replace('<separator name="gtdsep"/>', search_extended)
|
||||
|
||||
return res
|
||||
|
||||
|
|
Loading…
Reference in New Issue