diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-10-26 11:54:36 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-10-26 11:54:36 +0200 |
| commit | d87a8c05fd377e62ab5babaa61985845316efbcc (patch) | |
| tree | 4d2f3de5ca9ef6e96e2606ee6bf3b2889bdbdf9b /addons/web/static/src/js/coresetup.js | |
| parent | a76446b8c9f6a98a3d1aa985d9c0bc90ae092ac1 (diff) | |
[IMP] added some utils to qweb context
bzr revid: nicolas.vanhoren@openerp.com-20121026095436-3jyci78mgew9uz35
Diffstat (limited to 'addons/web/static/src/js/coresetup.js')
| -rw-r--r-- | addons/web/static/src/js/coresetup.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/js/coresetup.js b/addons/web/static/src/js/coresetup.js index 1f1112df2f2..220b9b63d5c 100644 --- a/addons/web/static/src/js/coresetup.js +++ b/addons/web/static/src/js/coresetup.js @@ -530,7 +530,8 @@ instance.web.qweb.default_dict['__debug__'] = instance.session.debug; // Which o instance.web.qweb.debug = instance.session.debug; instance.web.qweb.default_dict = { '_' : _, - '_t' : instance.web._t + '_t' : instance.web._t, + 'JSON': JSON, }; instance.web.qweb.preprocess_node = function() { // Note that 'this' is the Qweb Node |
