Skip to Content
Menú
This question has been flagged
1 Respondre
3711 Vistes

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?

Avatar
Descartar
Best Answer

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






Avatar
Descartar

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

Related Posts Respostes Vistes Activitat
3
de juny 23
4603
2
d’oct. 22
2677
4
d’oct. 21
7026
4
d’oct. 20
8747
1
de març 15
4273