From 1490557016eda06cf463314f20ce7d9a46c32383 Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Tue, 5 Oct 2021 15:02:08 +0000 Subject: [PATCH] [FIX] http_routing: hide the traceback by default on error 500 page Before this commit, the error 500 page would always shows the full traceback even if it is supposed to only show it in debug mode (or if editable). That behavior was probably broken by the debug refactoring [1], which introduced side effect with [2] (see template `http_error` which was moved with [3]). [1]: https://github.com/odoo/odoo/commit/d7cd97a9be63ae0a8643400b56d6f9a03285fba6 [2]: https://github.com/odoo/odoo/commit/24a20cd3fb00657da44d10a7a7d89cf94bdbdd83 [3]: https://github.com/odoo/odoo/commit/423402f1e50000186924186beba0cbe87e02e774 X-original-commit: 0d4e3001de81cc04cc6cc805edd75de19ce0255d Part-of: odoo/odoo#78065 --- addons/http_routing/views/http_routing_template.xml | 5 ++--- addons/website/views/website_templates.xml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/addons/http_routing/views/http_routing_template.xml b/addons/http_routing/views/http_routing_template.xml index 7e873748e91..b092fc24ca7 100644 --- a/addons/http_routing/views/http_routing_template.xml +++ b/addons/http_routing/views/http_routing_template.xml @@ -69,7 +69,7 @@

Oops! Something went wrong.

Take a look at the error message below.

- + @@ -88,7 +88,7 @@

403: Forbidden

The page you were looking for could not be authorized.

- + @@ -145,7 +145,6 @@ Internal Server Error -