diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-06-28 14:51:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-28 14:51:01 +0200 |
| commit | 20ed8d430023bcf2236cc6ddc30da87a433a5176 (patch) | |
| tree | 35f489d2e66eca339b8c54aabbf5acb908ad1fe7 /addons/account/data/mail_template_data.xml | |
| parent | 2cbbc88dabcbe11baca2f3e30ec7425af39141e4 (diff) | |
| parent | 6e55a3a49666484c38345ba85b14441dc3056ec2 (diff) | |
[MERGE] website, *: handle all website errors with beautiful design
* web, base, website_forum, test_website, account, gamification,
iap, mail, partner_autocomplete, point_of_sale, stock,
website_sale_comparison
All rpc errors are now displayed using the notification system recently
updated for website. For the redirections triggering an error that are
currently displayed as a 500 Error with an ugly white page, the error
page will be similar to 404/403 error but with code 400. All
exception_orm are now handled as a 400 except for the AccessError
which is a 403.
The error card on all the Error pages is now loaded on an open state
displaying clearly the reason of the error without clicking anything.
If there is no error message the error card is not displayed and the
traceback is open. The traceback is only displayed if we are in debug
mode. These changes are also effective for the 500, 404 and 403 error
pages.
KarmaError is now an except_orm exception.
Karma error message now contains the required karma.
All the alerts in website_forum will use the toast notifications
instead of alerts.
A test tour is located in test_website, visit /test_error_view to
trigger some errors manually and look at the result.
task-1894820
closes odoo/odoo#32132
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/account/data/mail_template_data.xml')
0 files changed, 0 insertions, 0 deletions
