[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
This commit is contained in:
parent
be43d5bdfd
commit
cebd89c148
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue