[FIX] avoid display root menus with no defined security groups

for Backend UI Users
This commit is contained in:
Clément Mombereau
2025-01-15 13:28:04 -03:00
parent b05b6bb0dd
commit 623676d784
7 changed files with 46 additions and 12 deletions

View File

@@ -1,8 +0,0 @@
<odoo>
<record model="ir.ui.menu" id="base.menu_management">
<!-- Allow to avoid to display App menu for backend users -->
<field name="groups_id" eval="[(4, ref('base.group_user'), 0)]" />
</record>
</odoo>