How can we hide a menuitem for all users in odoo 17?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký