-
- Downloads
[IMP] base_automation, web: give possibility to disable/edit failing automated actions
If an automated action raises an exception, in the traceback modal:
- For admins, display Disable & Edit automated action buttons
to be able to directly know with wihch automated action the error occurred,
and to give the possibility to edit or disable it quickly,
- For regular users, just add a paragraph to tell with which automated action the error occurred,
so they can give this useful information to their administrator
This is specially useful for databases which have just been
upgraded to a newer version, and for which the server action
is failing because its code is no longer supported.
closes odoo/odoo#42481
Signed-off-by:
Denis Ledoux (dle) <dle@odoo.com>
Showing
- addons/base_automation/i18n/base_automation.pot 58 additions, 0 deletionsaddons/base_automation/i18n/base_automation.pot
- addons/base_automation/models/base_automation.py 21 additions, 2 deletionsaddons/base_automation/models/base_automation.py
- addons/base_automation/static/src/js/base_automation_error_dialog.js 78 additions, 0 deletions..._automation/static/src/js/base_automation_error_dialog.js
- addons/base_automation/static/src/xml/base_automation_error_dialog.xml 36 additions, 0 deletions...utomation/static/src/xml/base_automation_error_dialog.xml
- addons/base_automation/static/tests/base_automation_error_dialog.js 72 additions, 0 deletions...e_automation/static/tests/base_automation_error_dialog.js
- addons/base_automation/views/base_automation_view.xml 12 additions, 0 deletionsaddons/base_automation/views/base_automation_view.xml
- addons/web/static/src/js/services/crash_manager.js 13 additions, 5 deletionsaddons/web/static/src/js/services/crash_manager.js
- addons/web/static/src/xml/crash_manager.xml 5 additions, 3 deletionsaddons/web/static/src/xml/crash_manager.xml
- odoo/http.py 2 additions, 1 deletionodoo/http.py
Loading
Please register or sign in to comment