From 02327d8a6b5bd2b5c6b424005bb46d95ee39ff94 Mon Sep 17 00:00:00 2001 From: Adrian Torres Date: Wed, 15 May 2019 12:39:23 +0000 Subject: [PATCH] [IMP] base: warn user about the consequences of uninstall This commit adds a warning banner near the bottom of the uninstall wizard warning the user of the consequences of module uninstallation and advising him to try it first on a duplicate database so as to avoid borking the database. The Cancel/Confirm buttons were also swapped and the Cancel one was made primary to avoid mindless "next-clicking" closes odoo/odoo#33396 Task-id: 1824392 Signed-off-by: Raphael Collet (rco) --- .../base/wizard/base_module_uninstall_views.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/odoo/addons/base/wizard/base_module_uninstall_views.xml b/odoo/addons/base/wizard/base_module_uninstall_views.xml index 00a493637f6..dd6de1bb3c2 100644 --- a/odoo/addons/base/wizard/base_module_uninstall_views.xml +++ b/odoo/addons/base/wizard/base_module_uninstall_views.xml @@ -40,9 +40,18 @@ +