Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6335 Zobrazení

HI ,

Please how to set invisible custom menu for specific group ?

Thanks .

Avatar
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit