Odoo Help

Welcome!

This community 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.

0

Disable Module from being Installed?

By
Billie Mead
on 1/31/15, 3:52 PM 763 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

--Bole--
2385
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

there is only 10 kind of people the ones that understand binary ... and others

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

--Ivan--
3210
| 5 3 6
Jakarta, Indonesia
--Ivan--
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

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


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

--Stephen Mack--
5023
| 8 8 9
Santiago, Chile
--Stephen Mack--

Some people call me a karma whore, I only ask for 10 points if you like my answer and 15 if I happen to get it correct.

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?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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