Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5535 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
mars 15
4636
0
avr. 22
2165
1
mai 16
6038
1
sept. 25
452
1
mai 25
1639