跳至內容
選單
此問題已被標幟
1 回覆
5517 瀏覽次數

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,

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
3月 15
4623
0
4月 22
2160
1
5月 16
6030
1
9月 25
446
1
5月 25
1628