跳至内容
菜单
此问题已终结
2 回复
6336 查看

HI ,

Please how to set invisible custom menu for specific group ?

Thanks .

形象
丢弃
编写者 最佳答案

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

形象
丢弃
最佳答案

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.

形象
丢弃