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

Hello,
The hr work entry type I need:
absence
Weekend
sick leave
public holidays
Etc

After check-in and check-out in the attendance module, I realized that attendance data is not transferred to the payroll module. What is your solution to transfer attendance data  from the attendance module to the payroll module?

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

My solution is override the `_get_worked_day_lines_values` method in `hr.payslip` model.


def _get_worked_day_lines_values(self, domain=None):
res = super()._get_worked_day_lines_values()
# Attendance data HERE
return res






Ảnh đại diện
Huỷ bỏ

Hi, I'm starting in odoo and have the same problem, could you please explain how to do it?

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 6 23
4724
Attendance Đã xử lý
2
thg 10 22
2832
4
thg 10 21
7175
4
thg 10 20
8949
1
thg 3 15
4388