Deactivate module

Hello!

How do I deactivate an active module?

Andreas

The deactivation is a beta feature so the button is only available in the form of the module.
But deactivation is a very complex task because the database schema may have been altered in such way that it will no more be compatible with the remaining modules. So when using this feature, you must be ready to fix the database schema and data yourself in case of trouble.

ok, thank you for the hint!
Wanted to deactivate

analytic_purchase: to remove
analytic_sale: to remove
purchase: to remove
sale_stock_quantity: to remove

but get:
“Users can not be deleted for logging purpose.
Instead you must inactivate them.”

Didn’t want to delete a user.

It is not a big deal, see Issue 7771: Users can not be deleted for logging purpose - Tryton issue tracker for context

Maybe you can read this thread?

https://groups.google.com/forum/m/#!topic/tryton/NzyrjcKlglE

And also this script

I tried as well; remember vaguely that there was the option in my previous docker installation. Now I’m in PIP and do not see the button.

Am I blind, stupid - or is it not there?

Cheers,
Wolf

As already said previously:

Allright. In the propeller menu of the module page. Took me more than a hour to find it.
Thank you - anyway!

1 Like

It is on purpose we do not want people to use it because it is beta/broken.