This question has been flagged
3 Replies
1875 Views

can we customize or set the module property such that it can be installed or not as per the admin's choice? How can we do that? I tried changing the __manifest__.py file code and set >> 'installable': False but, it isn't working. what should I do?

Avatar
Discard
Best Answer

The only step you missed is to "Refresh Modules List" on the Apps panel (visible if you activate developer mode) after changing installable to False.

Avatar
Discard
Best Answer

Hi Richa,

 Just delete the module from the app list, then in the manifest file make installable= False, then update the module list, then either the module will appear in the app list with non click able install button or you cannot find the module in the app list.


Thanks

Avatar
Discard
Author Best Answer

Yeah.. Thanks, Emanuel and Niyas. I got the thing done. I wasn't refreshing the apps list..that is why I didn't get what I wanted.

Avatar
Discard