summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/crash_manager.xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2019-12-24 13:01:23 +0000
committerDenis Ledoux <dle@odoo.com>2020-02-03 16:16:01 +0000
commit355cb456034981f9b4bf24c47f63589593c40779 (patch)
treeb4dbff81f5c4fb876a129a44534496a365169c39 /addons/web/static/src/xml/crash_manager.xml
parentdc1402c79bc23c5303e190808075b708986689cd (diff)
[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#44513 X-original-commit: 8f3940c132bbbc99e47fa3f0cba0e768159d9af2 Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/crash_manager.xml')
-rw-r--r--addons/web/static/src/xml/crash_manager.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/crash_manager.xml b/addons/web/static/src/xml/crash_manager.xml
index 80f67faaf83..50b4c126312 100644
--- a/addons/web/static/src/xml/crash_manager.xml
+++ b/addons/web/static/src/xml/crash_manager.xml
@@ -7,9 +7,11 @@
<div t-name="CrashManager.error" class="o_dialog_error">
<div class="alert alert-warning clearfix" role="alert">
- <button class="btn btn-primary float-right ml8 o_clipboard_button">
- <i class="fa fa-clipboard mr8"/>Copy the full error to clipboard
- </button>
+ <div class="float-right ml8 btn-group-vertical">
+ <button class="btn btn-primary o_clipboard_button">
+ <i class="fa fa-clipboard mr8"/>Copy the full error to clipboard
+ </button>
+ </div>
<p><b>An error occurred</b></p>
<p>Please use the copy button to report the error to your support service.</p>
</div>