Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3741 Zobrazení

Hello everybody 

i have a record rule that makes me see the attendances of my department and my childs departments

['|',('employee_id.user_id','=',user.id),('employee_id.department_id','child_of',[user.employee_ids[0].department_id.id])]

i m having the correct result in attendance module , but this record rule also limits my rights in employee module 

and i m getting this error:

(Type de document : hr.attendance, Opération : read)




Avatar
Zrušit

Give Access Right On ir.security.csv file

For Example,

access,model_demo_access_rights,user_access_rights_demo.group_user,1,1,1,0

Base on Your Requirements

Thanks

Autor

thank you man for your reply but it didn't work.

Because the hr.officer groups they already have all the rights for attendance object

and they inherit from hr.officer so they have the rights for employee object