跳至內容
選單
此問題已被標幟
1 回覆
1697 瀏覽次數

How can we hide a menuitem for all users in odoo 17?

頭像
捨棄
作者 最佳答案

To hide a menu item for all users in Odoo 17, you can do this by setting the groups attribute of the menu item to base.group_no_one, which is a special group that no user belongs to.

<menuitem id="menu_item_id" name="Menu Name" parent="module.parent_id" action="menu_action" sequence="10" groups="base.group_no_one"/>


Regards,

--

Shihas

Accurates



頭像
捨棄