Odoo Help

0

how to hide the parent menu of HUMAN RESOURCES? Please really need help (SOLVED)

By
Alcaline
on 10/7/14, 10:31 PM 936 views

Hi.

   I want to hide menu HUMAN RESOURCES using groups but it didn't work. any advice please i really need help..

security xml:

 <record id="biz1_ei.group_hidden" model="res.groups">
                <field name="name">Hidden</field>
            </record>
           

 

here's my code in xml:

<menuitem name="Human Resources"
            id="hr.menu_hr_root"
            groups="biz1_ei.group_hidden"
            sequence="1"/>
        <menuitem id="menu_hr_main" parent="hr.menu_hr_root" name="Human Resources" sequence="0" groups="biz1_ei.group_hidden"/>

For the group "biz1_ei.group_hidden" make sure you haven't given any Object permission..

deep
on 10/22/14, 1:28 AM

what object permission??

Alcaline
on 10/22/14, 3:55 AM

Did you managed to do it?

Pascal Tremblay
on 2/19/15, 3:45 PM
0
Ben Bernard
On 10/22/14, 11:33 PM

id="menu_hr_main" -> id="hr.menu_hr_main"

and if your current module is biz1_ei and want to create new group "group_hidden", then name of the module is not necessarily.

id="biz1_ei.group_hidden" -> id="group_hidden"

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 10/7/14, 10:31 PM
Seen: 936 times
Last updated: 3/16/15, 8:10 AM