diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js index 48b19f29971..cd58c3bb10a 100644 --- a/addons/web/static/src/js/boot.js +++ b/addons/web/static/src/js/boot.js @@ -33,12 +33,11 @@ if (modules === null) { modules = []; } + modules = _.without(modules, "web"); if (inited) throw new Error("OpenERP was already inited"); inited = true; for(var i=0; i < modules.length; i++) { - if (modules[i] === "web") - continue; var fct = openerp[modules[i]]; if (typeof(fct) === "function") { openerp[modules[i]] = {};