Skip to content
Snippets Groups Projects
Commit cebd89c1 authored by Simon Lejeune's avatar Simon Lejeune
Browse files

[FIX] QWeb contact widget: fixed double escaping: only the address part needs...

[FIX] QWeb contact widget: fixed double escaping: only the address part needs to be escaped as it is shown in a t-raw (other parts are shown in t-esc).

bzr revid: sle@openerp.com-20140424144329-vj51bt0y269f1pwo
parent be43d5bd
No related branches found
No related tags found
No related merge requests found
......@@ -836,7 +836,7 @@ class Contact(orm.AbstractModel):
id = getattr(record, field_name).id
field_browse = self.pool[column._obj].browse(cr, openerp.SUPERUSER_ID, id, context={"show_address": True})
value = werkzeug.utils.escape( field_browse.name_get()[0][1] )
value = field_browse.name_get()[0][1]
val = {
'name': value.split("\n")[0],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment