diff options
| author | fja-odoo <fja@odoo.com> | 2019-06-11 12:26:48 +0000 |
|---|---|---|
| committer | fja-odoo <fja@odoo.com> | 2019-06-28 08:53:52 +0000 |
| commit | dc561aae036e03dbec9d4085ce2baaa9286f530b (patch) | |
| tree | a6aaae6362b2447861483d2d0d7aab4027774fd0 /addons/test_website/static/src/js/test_error.js | |
| parent | f8fe314e786d2100833ecc8b0cb661252f648ddc (diff) | |
[IMP] website: enhance http error pages
- The traceback is only visible if in debug mode or if edit mode.
- All except_orm exceptions are now displayed as a 400
but the AccessError wich is a 403. There is now a dedicted page
for the 400 error.
- Errors messages are no longer the exception args but its name if the
exception is an except_orm. Else there is no message since the current
logic override exceptions of type Exception in ir_http thus we have
no message to display.
Part of https://github.com/odoo/odoo/pull/32132
task-1894820
Diffstat (limited to 'addons/test_website/static/src/js/test_error.js')
0 files changed, 0 insertions, 0 deletions
