[FIX] Contact field encoding issue

bzr revid: fme@openerp.com-20140124132304-4kmjd9k4k2xgjecv
This commit is contained in:
Fabien Meghazi 2014-01-24 14:23:04 +01:00
parent edaf96d283
commit f0606d3cc0
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ class Contact(orm.AbstractModel):
'options': options
}
html = self.pool["ir.ui.view"].render(cr, uid, "website.contact", val, engine='website.qweb', context=context)
html = self.pool["ir.ui.view"].render(cr, uid, "website.contact", val, engine='website.qweb', context=context).decode('utf8')
return ir_qweb.HTMLSafe(html)