Comment 8 for bug 1262172

Revision history for this message
Raphaƫl Valyi - http://www.akretion.com (rvalyi) wrote : Re: [Bug 1262172] Re: Uninstallation of modules from "res.config.settings" is dangerous

Hello Antony,

I think that won't be a problem to do a MP for that.
But what about doing that also at module installation? Like "you should be
aware that action will install module X, will alter the database schema and
the ERP processes. Also uninstalling this module later may require expert
assistance. Ideally you already validated you need this module on a test
database first."
Eventually such a warning could trigger or not according to module
complexity or to another flag.

For me it looks a bit inconsistent that you let the user possibly screw his
installation silently at module installation and you warn him he his
potentially screwed only once he tries to uninstall the module and it's too
late.

On Mon, Dec 23, 2013 at 9:08 AM, Antony Lesuisse (OpenERP)
<email address hidden>wrote:

> We would like to add the warning when unchecking a checkbox will trigger a
> module uninstall.
> Please help us with a nice MP.
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Server.
> https://bugs.launchpad.net/bugs/1262172
>
> Title:
> Uninstallation of modules from "res.config.settings" is dangerous
>
> Status in OpenERP Server:
> Confirmed
>
> Bug description:
> In "Settings > Configuration" we have various section "Sales",
> "Purchases" and so on. In each section, we can find configuration
> options, usually checkboxes. Some of them change groups, some install
> modules.
>
> Example:
> "Settings > Configuration > General Settings" : The option "Activate the
> customer portal" installs the portal module.
>
> And the reverse, when the checkbox is ticked and we untick it, the
> portal module is uninstalled.
>
> This is very dangerous when people do not really realize what is
> happening underhand, especially since the columns of the uninstalled
> modules are dropped. But this is even more dangerous: the
> uninstallation also uninstalls all the dependencies and there is no
> warning (when we uninstall a module from the "Installed Modules" menu,
> there is a warning).
>
> It can lead to serious damage on a database, when a user thinks is
> just activating / deactivating options.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-server/+bug/1262172/+subscriptions
>