Skip to Content
Menu
This question has been flagged
1 Reply
3975 Views

Hii,

Odoo v12. We have created payroll for all employees. 

Our employees cant see their payslips and reports.

How we can show payslips and reports to employees after payroll is posted?

And they should see their own payslips and not any other employee.

Thanks,

Avatar
Discard
Best Answer

Hi,

You can grant permission for the menu, access rights for the corresponding models and write a record rule so that the employee see only his records.

You can check the coding of this module which allows employee to view his attendance only: Employee Attendance

Similar logic/coding can be done for payslip model.

For record Rules and Access rights: Security in Odoo - Access Control, Record Rules and Group

Thanks

Avatar
Discard
Related Posts Replies Views Activity
2
Mar 15
3333
0
Apr 22
1227
1
May 16
4827
1
Dec 24
397
0
Oct 24
111