title: How to hide contacts menu in Odoo v12 (only users in a cerain group will be allowed to se it)?
body: <p>In odoo i have created a custom module, with two roles &quot;stores&quot; and &quot;managers&quot;. I want to hide the Odoo Contacts app menu from those &quot;store&quot; users. I have tried with the following code, but the Contacts menu is still showing. What can I do to hide that menu?</p>
  <pre><code> &lt;record model=&quot;ir.ui.menu&quot; id=&quot;contacts.menu_contacts&quot;&gt;
          &lt;field name=&quot;groups&quot;&gt;mymodule.manager&lt;/field&gt;
    &lt;/record&gt;
  
   &lt;record model=&quot;ir.ui.menu&quot; id=&quot;contacts.res_partner_menu_contacts&quot;&gt;
        &lt;field name=&quot;groups&quot;&gt;mymodule.manager&lt;/field&gt;
    &lt;/record&gt;
  </code></pre>