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