Skip to Content
Menu
This question has been flagged
1 Reply
5373 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
4482
0
Apr 22
2035
1
May 16
5866
0
Aug 25
61
1
May 25
1291