diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 91adfad9ebd..420cedd81e4 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -663,7 +663,7 @@ instance.web.Login = instance.web.Widget.extend({ this.remember_last_used_database(db); this.$('.oe_login_dbpane').empty().text(_t('Loading...')); this.$('[name=login], [name=password]').prop('readonly', true); - window.location = '/?' + $.param(params); + instance.web.redirect('/?' + $.param(params)); }, on_db_loaded: function (result) { var self = this;