Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5536 Lượt xem

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,

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
4637
0
thg 4 22
2165
1
thg 5 16
6039
1
thg 9 25
453
1
thg 5 25
1639