diff options
Diffstat (limited to 'addons/web/static/src/js/pyeval.js')
| -rw-r--r-- | addons/web/static/src/js/pyeval.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/web/static/src/js/pyeval.js b/addons/web/static/src/js/pyeval.js index 06dc7ae1815..0b0e9725af9 100644 --- a/addons/web/static/src/js/pyeval.js +++ b/addons/web/static/src/js/pyeval.js @@ -1,7 +1,10 @@ /* * py.js helpers and setup */ -openerp.web.pyeval = function (instance) { +(function() { + + var instance = openerp; + instance.web.pyeval = {}; var obj = function () {}; @@ -864,4 +867,4 @@ openerp.web.pyeval = function (instance) { } }, 0); }); }; -}; +})(); |
