From dccbf4fa818d0c3a61d4e838bf12c396a22848cd Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 19 Jul 2012 13:14:14 +0200 Subject: [FIX] Client must do the session_bind bzr revid: chs@openerp.com-20120719111414-ivf6lq2iymws0ytm --- addons/web/static/src/js/boot.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'addons/web/static/src/js/boot.js') diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js index 9f426ee787c..c1b1b984abe 100644 --- a/addons/web/static/src/js/boot.js +++ b/addons/web/static/src/js/boot.js @@ -21,7 +21,7 @@ * * @param {Array} modules list of modules to initialize */ - init: function(modules, origin) { + init: function(modules) { // By default only web will be loaded, the rest will be by loaded // by openerp.web.Session on the first session_authenticate modules = _.union(['web'], modules || []); @@ -39,9 +39,6 @@ for(var i=0; i < modules.length; i++) { openerp[modules[i]](new_instance,new_instance[modules[i]]); } - new_instance.connection.synchronized_mode(function() { - new_instance.connection.session_bind(origin); - }); return new_instance; } }; -- cgit v1.2.3