Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
10288 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
gen 20
4229
3
giu 20
3178
0
ott 18
2436
1
dic 22
23975
6
dic 22
14664