diff options
| author | fja-odoo <fja@odoo.com> | 2019-06-11 12:26:55 +0000 |
|---|---|---|
| committer | fja-odoo <fja@odoo.com> | 2019-06-28 08:53:53 +0000 |
| commit | 0d1407a715901ea06e9a7211c0e3dbe09fadb785 (patch) | |
| tree | d7d3a6cf49a358298b8caa2da8cd025be017c309 /addons/web/static/src/xml/notification.xml | |
| parent | 90818fd083774988c331d741d34181a5af5ecd3a (diff) | |
[IMP] base, web, *: make KarmaError an except_orm
* = gamification, test_website, stock
- KarmaError is now handled as a 400 exception.
- test_website has been updated.
- NO_POSTMORTEM is now clean it was referencing duplicates as most the
exceptions inherit from except_orm.
- serialize_exception from http.py has been moved to ir_http
to take advantage of the odoo inheritance system. We can then
extend ir_http serialize_exception method to add the KarmaError
logic if and only if gamification is installed.
Places where serialize_exception was previously used are updated.
Part of https://github.com/odoo/odoo/pull/32132
task-1894820
Diffstat (limited to 'addons/web/static/src/xml/notification.xml')
0 files changed, 0 insertions, 0 deletions
