[FIX] use HTML parser for view sections coming back from JS
bzr revid: xmo@openerp.com-20130909111010-a0v9m7i02a2mo17v
This commit is contained in:
parent
55a84256a3
commit
c29c3290c0
|
@ -91,7 +91,7 @@ class view(osv.osv):
|
|||
"""
|
||||
res_id = int(res_id)
|
||||
|
||||
arch_section = etree.fromstring(value)
|
||||
arch_section = html.fromstring(value)
|
||||
|
||||
for el in self.extract_embedded_fields(cr, uid, arch_section, context=context):
|
||||
self.save_embedded_field(cr, uid, el, context=context)
|
||||
|
|
Loading…
Reference in New Issue