summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odoo/http.py5
1 files changed, 3 insertions, 2 deletions
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()