diff --git a/odoo/http.py b/odoo/http.py index 2b3472ddc9d..55484609b57 100644 --- a/odoo/http.py +++ b/odoo/http.py @@ -1438,10 +1438,11 @@ class Root(object): # - the database version doesnt match the server version # Log the user out and fall back to nodb request.session.logout() - # If requesting /web this will loop if request.httprequest.path == '/web': - result = werkzeug.utils.redirect('/web/database/selector') + # Internal Server Error + raise else: + # If requesting /web this will loop result = _dispatch_nodb() else: result = ir_http._dispatch()