[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.
This commit is contained in:
Raphael Collet
2017-06-28 15:36:17 +02:00
committed by GitHub
parent 026f9ce085
commit b8cf940247
9 changed files with 147 additions and 1 deletions
+1 -1
View File
@@ -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"/>