[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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user