diff --git a/addons/web/http.py b/addons/web/http.py index e0bd34a1bd0..7e10ccc71cd 100644 --- a/addons/web/http.py +++ b/addons/web/http.py @@ -614,7 +614,7 @@ class Root(object): elif exposed == 'http': _logger.debug("Dispatch http to %s %s %s", ps, c, method_name) return lambda request: HttpRequest(request).dispatch(method) - elif method_name != "index": + if method_name != "index": method_name = "index" continue ps, _slash, method_name = ps.rpartition('/')