Skip to Content
Menu
This question has been flagged
2 Replies
5975 Views

HI ,

Please how to set invisible custom menu for specific group ?

Thanks .

Avatar
Discard
Author Best Answer

Sorry i want : when i chek a specific group , my menu will be hiden for this group !

Avatar
Discard
Best Answer

There is no such thing like invisible menu exists but you can choose groups to which you want you show your menu. eg:

<menuitem action="action_orders" id="menu_sale_order" parent="base.menu_sales" sequence="6" groups="base.group_sale_salesman,base.group_sale_manager"/> 

 

This menu will be visible to only users belonging to "base.group_sale_salesman" or ",base.group_sale_manage" group.

Note that hrere "base" in group name is module name in which group is defined.

Avatar
Discard