* bugfix #343778 in project_gtd when use é è à in context

lp bug: https://launchpad.net/bugs/343778 fixed

bzr revid: christophe.chauvet@syleam.fr-20090316180104-rad02xu3sm0dsyak
This commit is contained in:
Christophe Chauvet
2009-03-16 19:01:04 +01:00
parent 3fe23e6532
commit 3074e03967
+1 -1
View File
@@ -113,7 +113,7 @@ class project_gtd_timebox(osv.osv):
<field name="%s" colspan="4" nolabel="1">
<tree editable="bottom" colors="grey:state in ('done','pending');red:state=='cancelled'" string="Tasks">
<field name="name"/>
""" % (getattr(rec, 'context%d_id'%(i,)).name, 'task%d_ids'%(i,))
""" % (getattr(rec, 'context%d_id'%(i,)).name.encode('utf-8'), 'task%d_ids'%(i,))
if rec.col_project:
res['arch'] += '<field name="project_id" required="1"/>\n'
if rec.col_date_start: