跳至內容
選單
此問題已被標幟
1 回覆
10248 瀏覽次數

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
4208
3
6月 20
3170
0
10月 18
2401
1
12月 22
23941
6
12月 22
14617