Odoo Help

0

0
4 Answers
2
Avatar

Manish Kumar Bohra

--Manish Kumar Bohra--

1233
| 5 3 8
Bikaner, 印度
--Manish Kumar Bohra--


Manish Kumar Bohra
2018/10/8 上午10:53

Hello , 

First Create Group Using Below Code :

<record model="res.groups" id="group_user_hide" >
        <field name="name">Hide User</field>
</record>

If you want to Employ Menu for Specific Group Than Try Below Code For Example in Sale order:

<menuitem id="menu_sale_config"
            name="Configuration"
            parent="sale_menu_root"
            sequence="6"
            groups="Module.group_user_hide"/>

I Think It's Help You.


Thanks

0
Avatar

subbarao

--subbarao--

1198
| 5 1 5
Chennai, 印度
--subbarao--


subbarao
2018/10/8 上午8:58

Create a new group and add new group for employee menu as well as remove employee group from the menu

0
Avatar

ayman mohammed adam

--ayman mohammed adam--
785
| 4 3 5
Riyadh, 沙特阿拉伯
--ayman mohammed adam--


ayman mohammed adam
2018/10/8 上午9:42

Dear Mian Kamran


Try This


    <record id="access_main_hr_menu" model="res.groups">
        <field name="name">Hr Main Menu</field>
    </record>


    <record model="ir.ui.menu" id="hr.menu_hr_root">
          <field name="groups_id" eval="[(6,0,[ref('access_main_hr_menu')])]"/>
    </record>



I hope I helped you..

0
Avatar

Mitul Shingala

--Mitul Shingala--

2294
| 5 3 7
Rajkot, 印度
--Mitul Shingala--

Odoo Developer

Mitul Shingala
2018/10/8 上午9:56

Hello 

Create one group and that group assign on the HR main manu

<record model="res.groups" id="group_hr_menu" >
        <field name="name">Group HR Menu</field>
</record>

now assign above group on the HR Root menu

<record id="hr.menu_hr_root" model="ir.ui.menu" >
<field name="groups_id" eval="[(6, 0, [ref('module_name.group_hr_menu')])]"/>
</record>




Ask a Question
Writer
Keep Informed
1 follower(s)
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