跳至内容
菜单
此问题已终结
1 回复
10849 查看

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

形象
丢弃
最佳答案

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

   



形象
丢弃
相关帖文 回复 查看 活动
2
1月 20
4612
3
6月 20
3516
0
10月 18
2804
1
12月 22
24782
6
12月 22
15405