Odoo Help

Welcome!

This community 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.

0

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

By
Alcaline
on 10/7/14, 10:31 PM 741 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

--Ben Bernard--
1083
| 4 3 6
Jakarta, Indonesia
--Ben Bernard--
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"

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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