How to set an employee to have access to sign in/sign out attendance but cannot view employee listing

Asked by Atika

Hello,

I want to configure an employee to have access to sign in/sign out attendance. But at the same time I don't want that employee have the access right to view others employee listing & detail.

Really need some assist regarding this.

Thank you :D

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Kalpana Hemnani(SerpentCS) (khemnani-serpentcs) said :
#1

Hello Atika,

If you don't want employee have access right to view other employee listing and detail, you need to create a record rule for that.

In that record rule the you need to enter a domain: "['|',('user_id','=',user.id),('user_id','=',False)]".

Thank you,
Regards,
Kalpana Hemnani,
Serpent Consulting Services.

Can you help with this problem?

Provide an answer of your own, or ask Atika for more information if necessary.

To post a message you must log in.