[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:
Xavier Morel 2013-09-17 17:44:14 +02:00
parent 779667d690
commit 8159503eb1
1 changed files with 1 additions and 1 deletions

View File

@ -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):