[FIX] use HTML parser for view sections coming back from JS

bzr revid: xmo@openerp.com-20130909111010-a0v9m7i02a2mo17v
This commit is contained in:
Xavier Morel
2013-09-09 13:10:10 +02:00
parent 55a84256a3
commit c29c3290c0
+1 -1
View File
@@ -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)