Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3874 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
kesäk. 23
4757
Attendance Ratkaistu
2
lokak. 22
2857
4
lokak. 21
7220
4
lokak. 20
9027
1
maalisk. 15
4404