Hello,
I am trying to set some record rules to limit visibility of records; general rule how to do it I know, thing is that for some case I cen guess / find in internet how the rule should look like. Examples like:
[(user_id,'=',user.id)]
are quite obvious in internet I've found also:
[('employee_id.user_id','=',user.id)]
are also somehow clear. I've tried to find such names browsing using developer mode, and browsing what is available via 'debug window' - but even there I was not able to find labels / entries like:
[('department_id','=',user.context_department_id.id)]
where is 'user.context_departament.id'.. :/
Is there something like full list of such labels / fields? How can I know which one I could use? Also there are entries similar to below:
['|',(user_id,'=',user.id),('manager_id.user_id','=',user.id)]
Where to find what '|' means? Also where to read what is role of all these chars like , ' | ?
regards
Tomasz