Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

hide top bar menu item odoo

First create a dummy group with no users in it

<record id="make_invisible" model="res.groups">
    <field name="name">Invisible</field>
 </record>
Replace all users in the group. The eval statement here means, replace all ids in the groups_id field with the id for group make_invisible.

<record model="ir.ui.menu" id="module.menu_name">
    <field name="groups_id" eval="[(6,0,[ref('make_invisible')])]"/>
</record>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide #top #bar #menu #item #odoo
ADD COMMENT
Topic
Name
1+1 =