Odoo Ayuda

0
4 Answers
2
Avatar

Manish Kumar Bohra

--Manish Kumar Bohra--

1218
| 5 3 8
Bikaner, India
--Manish Kumar Bohra--


Manish Kumar Bohra
08/10/18 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--

1148
| 5 1 5
Chennai, India
--subbarao--


subbarao
08/10/18 08: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--
--ayman mohammed adam--


ayman mohammed adam
08/10/18 09: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, India
--Mitul Shingala--

Odoo Developer

Mitul Shingala
08/10/18 09: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>




Realizar una pregunta
Writer
Keep Informed
1 seguidor(es)
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