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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się