summaryrefslogtreecommitdiff
path: root/odoo/addons/base/module/module_view.xml
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2017-06-28 15:36:17 +0200
committerGitHub <noreply@github.com>2017-06-28 15:36:17 +0200
commitb8cf940247ce746bf2ccdd77cbcb9bfde5c026d2 (patch)
tree4a69a88f6b68468dcab45c1a77fade9b8b29b13f /odoo/addons/base/module/module_view.xml
parent026f9ce0853d9e3b56ec6f162929958fbab4c903 (diff)
[ADD] base: new wizard to uninstall a module (#17284)
The "Uninstall" button on the module form no longer changes the state of modules, so that cancelling the wizard will not unexpectedly perform the uninstallation. The uninstallation is performed only by clicking on the "Confirm" button on the wizard. Moreover, the wizard provides clearer information about the impact of the uninstallation: what apps/modules will be uninstalled and what documents (models) will be lost.
Diffstat (limited to 'odoo/addons/base/module/module_view.xml')
-rw-r--r--odoo/addons/base/module/module_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/base/module/module_view.xml b/odoo/addons/base/module/module_view.xml
index 338cb723980..d0e842b5e3e 100644
--- a/odoo/addons/base/module/module_view.xml
+++ b/odoo/addons/base/module/module_view.xml
@@ -82,7 +82,7 @@
<div>
<button name="button_immediate_install" states="uninstalled" string="Install" type="object" class="btn btn-primary"/>
<button name="button_immediate_upgrade" states="installed" string="Upgrade" type="object" class="btn btn-primary"/>
- <button name="button_uninstall" states="installed" string="Uninstall" type="object" class="btn btn-default"/>
+ <button name="button_uninstall_wizard" states="installed" string="Uninstall" type="object" class="btn btn-default"/>
<button name="button_uninstall_cancel" states="to remove" string="Cancel Uninstall" type="object" class="btn btn-default"/>
<button name="button_upgrade_cancel" states="to upgrade" string="Cancel Upgrade" type="object" class="btn btn-default"/>
<button name="button_install_cancel" states="to install" string="Cancel Install" type="object" class="btn btn-default"/>