Skip to content
Snippets Groups Projects
Commit a1b46eb0 authored by Fabien Meghazi's avatar Fabien Meghazi
Browse files

[FIX] Disable inherit_branding for t-call-assets

bzr revid: fme@openerp.com-20140430081042-f77suergc85qemnn
parent 677de74f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment