Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
10877 Vues

i have Employee Base Group that can not see private information in HR module .. so i inherit Officer Group ( hr.group_hr_user ) to it .

<record id="base_employee_group" model="res.groups">
<field name="name">Employee Group</field>
<field name="category_id" ref="employee_type_category"/>
<field name="implied_ids" eval="[(4,ref('base.group_user'))]"/>
<field name="implied_ids" eval="[(4,ref('hr.group_hr_user'))]"/>
</record>

now Employee Base Group can see private information but not only read but also write, edit and unlink

i added

base_employee_access_hr_employee,Employee Access Hr Employee,hr.model_hr_employee,base_employee_group,1,0,0,0

but it doesn't work also

Avatar
Ignorer
Meilleure réponse

Hello,

When you write something as this way it will always override an execute second line only, instead of this, have to write as this way
<field name="implied_ids" eval="[(4,ref('base.group_user')),(4,ref('hr.group_hr_user'))]"/>


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   



Avatar
Ignorer
Publications associées Réponses Vues Activité
2
janv. 20
4656
3
juin 20
3530
0
oct. 18
2818
1
déc. 22
24840
6
déc. 22
15425