Help

1

inherit some group permissions to another group

Avatar
omar ahmed

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
Discard
1 Answer
1
Avatar
Jainesh Shah
Best Answer

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
Discard