# Deactivate module

**URL:** <https://discuss.tryton.org/t/deactivate-module/2196>\
**Category:** User\
**Created:** [January 17, 2020, 5:09pm UTC](https://discuss.tryton.org/t/deactivate-module/2196 "2020-01-17T17:09:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratatouille](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/57b2e6/32.png) [@ratatouille](https://discuss.tryton.org/u/ratatouille)\
**Post date:** [January 17, 2020, 5:09pm UTC](https://discuss.tryton.org/t/deactivate-module/2196/1 "2020-01-17T17:09:53Z")

</div>

Hello!

How do I deactivate an active module?

Andreas

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [January 17, 2020, 5:25pm UTC](https://discuss.tryton.org/t/deactivate-module/2196/2 "2020-01-17T17:25:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ratatouille](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/57b2e6/32.png) [@ratatouille](https://discuss.tryton.org/u/ratatouille)\
**Post date:** [January 17, 2020, 5:38pm UTC](https://discuss.tryton.org/t/deactivate-module/2196/3 "2020-01-17T17:38:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [January 17, 2020, 6:00pm UTC](https://discuss.tryton.org/t/deactivate-module/2196/4 "2020-01-17T18:00:02Z")

</div>

It is not a big deal, see [Users can not be deleted for logging purpose (#7771) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue7771) for context

---

<div class="post-metadata">

**Author:** ![bala4901](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/b/fbc32d/32.png) [@bala4901](https://discuss.tryton.org/u/bala4901)\
**Post date:** [January 18, 2020, 1:09pm UTC](https://discuss.tryton.org/t/deactivate-module/2196/5 "2020-01-18T13:09:05Z")

</div>

Maybe you can read this thread?

> **[Redirecting to Google Groups](https://groups.google.com/forum/m/#!topic/tryton/NzyrjcKlglE)**

And also this script

> <https://gist.github.com/prakashpp/d30370c34c771ed717f4>

---

<div class="post-metadata">

**Author:** ![herrdeh](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/herrdeh/32/821_2.png) [@herrdeh](https://discuss.tryton.org/u/herrdeh)\
**Post date:** [November 20, 2020, 1:23pm UTC](https://discuss.tryton.org/t/deactivate-module/2196/6 "2020-11-20T13:23:34Z")

</div>

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.

 ![Bildschirmfoto von 2020-11-20 14-21-00](https://discuss-cdn.tryton.org/uploads/default/original/2X/1/1a0b7ac39512451703dc2994712e279caa564c2d.png)

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

Cheers,  
Wolf

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [November 20, 2020, 2:28pm UTC](https://discuss.tryton.org/t/deactivate-module/2196/7 "2020-11-20T14:28:05Z")

</div>

As already said previously:

> [@ced](#):
>
> The deactivation is a beta feature so the button is only available in the form of the module.

---

<div class="post-metadata">

**Author:** ![herrdeh](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/herrdeh/32/821_2.png) [@herrdeh](https://discuss.tryton.org/u/herrdeh)\
**Post date:** [November 20, 2020, 3:49pm UTC](https://discuss.tryton.org/t/deactivate-module/2196/8 "2020-11-20T15:49:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [November 20, 2020, 4:09pm UTC](https://discuss.tryton.org/t/deactivate-module/2196/9 "2020-11-20T16:09:05Z")

</div>

> [@herrdeh](#):
>
> Took me more than a hour to find it.

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