[ADD] modules global rendering variable
This is temporary bzr revid: fme@openerp.com-20140506163204-u63n3wv1yv6yohd3
This commit is contained in:
parent
0e62b9d8df
commit
15380fd5d2
|
@ -882,6 +882,11 @@ class view(osv.osv):
|
||||||
)
|
)
|
||||||
qcontext.update(values)
|
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):
|
def loader(name):
|
||||||
return self.read_template(cr, uid, name, context=context)
|
return self.read_template(cr, uid, name, context=context)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue