Search
 
SCRIPT & CODE EXAMPLE
 

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>
Comment

PREVIOUS NEXT
Code Example
Html :: how to add label on image in html 
Html :: website code example for html 
Html :: vimeo sdk 
Html :: change text direction in html 
Html :: how to make body width be device width html 
Html :: gap between grid layout bootstrap 
Html :: png favicon 
Html :: route link prop vue 
Html :: how to add an image to my web page from my computer 
Html :: How to edit an HTML file 
Html :: get city from location html 
Html :: on this image error 
Html :: animate on scroll github 
Html :: standard html starter code 
Html :: html reload button 
Html :: button html link to another page 
Html :: ai writer 
Html :: ejs ternary 
Html :: show scrollbar only when scrolling 
Html :: jquery insert html into iframe 
Html :: email button html 
Html :: bootstrap carousel dark 
Html :: html css text style on a word 
Html :: what does html stand for 
Html :: video html player 
Html :: <p tag html 
Html :: html element hover help text 
Html :: The href Attribute in html 
Html :: html js script 
Html :: bootstrap 4 button link 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =