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

[ADD] modules global rendering variable

This is temporary

bzr revid: fme@openerp.com-20140506163204-u63n3wv1yv6yohd3
parent 0e62b9d8
No related branches found
No related tags found
No related merge requests found
......@@ -882,6 +882,11 @@ class view(osv.osv):
)
qcontext.update(values)
# TODO: remove this as soon as the following branch is merged
# lp:~openerp-dev/openerp-web/trunk-module-closure-style-msh
from openerp.addons.web.controllers.main import module_boot
qcontext['modules'] = simplejson.dumps(module_boot())
def loader(name):
return self.read_template(cr, uid, name, context=context)
......
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