Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3891 มุมมอง

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?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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






อวตาร
ละทิ้ง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
มิ.ย. 23
4760
Attendance แก้ไขแล้ว
2
ต.ค. 22
2865
Biometrics system integration? แก้ไขแล้ว
4
ต.ค. 21
7227
4
ต.ค. 20
9063
1
มี.ค. 15
4413