Aide

0

How to Hide Module From a Groups

Avatar
Tri Nanda

Hi,

I using Odoo13.


I make groups of access rights to users with user privileges to a manufacturing module, but then the other module still appears to the users on the main dashboard like Contact module, Discuss, Callender module and others.


I want to hide these modules from the groups of users on the main dashboard.


So, how to do that?, to hide the don't necessary module from groups on Odoo internal users?


Please, I would be very thank you for the help, any sources or tutorials how to do that.

Avatar
Annuler
1 Réponse
1
Meilleure réponse

just inherit main menu of targeted module and add wanted groups which you want them  to see the module . example:

<menuitem name="menuName" id="module_id.menu_idgroups="group_id1,group_id2" />

and do not forget to add the  supper module to the manifest file (in dependences)

Avatar
Annuler