Odoo Help

0

Disable Module from being Installed?

By
Billie Mead
on 1/31/15, 3:52 PM 1,038 views

I have searched and searched but could not find an answer. I have a client, and I want to prevent him from ever installing am module, say in this case Website Builder.

What is the recommended process? I tried setting Installable to False, but the module still showed up the Modules List.

1
Bole
On 2/2/15, 3:25 AM

If you don want the module in module list , modifiy __openerp__.py
and set installable='False' ... that will hide the module form enlisting for instalation.. 
after that you should update modules list.
If module is still visible execute something like this from any db management tool ,(pgadmin3, psql etc..):
delete from ir_module_module where name='your_module_name';

 

Also.. you can remove admin rights from user, and he will not be able to install anything.. 
(better way)

But i'm realy not sure if you can selectivly allow/deny instalation of certain modules... while other are not restricted.. 

In general.. user which have rights to install modules (usualy admin) , 
should know what he is doing, and should be responsable for any actions he does.. 

 

hope it helps

1
Ivan
On 2/2/15, 3:28 AM

A trick that I usually used: change the state of that module into something unrecognizable by the system ('installed', 'uninstalled', 'to remove', 'to upgrade', 'to install' are recognized).  But this requires a direct query to the database.

0
Zbik
On 1/31/15, 4:11 PM

Probably the best way, for this user, if you clear the check box Technical Features or remove access Administrations=Settings, on user view.

0
Stephen Mack
On 1/31/15, 4:08 PM

It seems that you provide a source code directory for each client (no sharing across databases).  Why not  just rename the directory?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/31/15, 3:52 PM
Seen: 1038 times
Last updated: 3/16/15, 8:10 AM