[FIX] Disable inherit_branding for t-call-assets

bzr revid: fme@openerp.com-20140430081042-f77suergc85qemnn
This commit is contained in:
Fabien Meghazi 2014-04-30 10:10:42 +02:00
parent 677de74fef
commit a1b46eb0d2
1 changed files with 3 additions and 1 deletions

View File

@ -411,8 +411,10 @@ class QWeb(orm.AbstractModel):
# Backward compatibility hack for manifest usage
qwebcontext['manifest_list'] = openerp.addons.web.controllers.main.manifest_list
d = qwebcontext.copy()
d.context['inherit_branding'] = False
content = self.render_tag_call(
element, {'call': name}, generated_attributes, qwebcontext)
element, {'call': name}, generated_attributes, d)
if qwebcontext.get('debug'):
return content
bundle = AssetsBundle(name, html=content)