Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
6338 Vistas

HI ,

Please how to set invisible custom menu for specific group ?

Thanks .

Avatar
Descartar
Autor Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

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
Descartar