[FIX] Disable inherit_branding for t-call-assets
bzr revid: fme@openerp.com-20140430081042-f77suergc85qemnn
This commit is contained in:
parent
677de74fef
commit
a1b46eb0d2
|
@ -411,8 +411,10 @@ class QWeb(orm.AbstractModel):
|
||||||
# Backward compatibility hack for manifest usage
|
# Backward compatibility hack for manifest usage
|
||||||
qwebcontext['manifest_list'] = openerp.addons.web.controllers.main.manifest_list
|
qwebcontext['manifest_list'] = openerp.addons.web.controllers.main.manifest_list
|
||||||
|
|
||||||
|
d = qwebcontext.copy()
|
||||||
|
d.context['inherit_branding'] = False
|
||||||
content = self.render_tag_call(
|
content = self.render_tag_call(
|
||||||
element, {'call': name}, generated_attributes, qwebcontext)
|
element, {'call': name}, generated_attributes, d)
|
||||||
if qwebcontext.get('debug'):
|
if qwebcontext.get('debug'):
|
||||||
return content
|
return content
|
||||||
bundle = AssetsBundle(name, html=content)
|
bundle = AssetsBundle(name, html=content)
|
||||||
|
|
Loading…
Reference in New Issue