[FIX] ensure we distribute branding only over actual element, not over e.g. comments
bzr revid: xmo@openerp.com-20130917154414-zdbv7861e9p6mdgi
This commit is contained in:
parent
779667d690
commit
8159503eb1
|
@ -703,7 +703,7 @@ class view(osv.osv):
|
|||
if e.attrib.get(attribute))
|
||||
|
||||
if 't-raw' not in e.attrib:
|
||||
for child in e:
|
||||
for child in e.iterchildren(tag=etree.Element):
|
||||
self.distribute_branding(child, distributed_branding)
|
||||
|
||||
def render(self, cr, uid, id_or_xml_id, values, context=None):
|
||||
|
|
Loading…
Reference in New Issue