Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3736 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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






Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
3
cze 23
4636
Attendance Rozwiązane
2
paź 22
2706
4
paź 21
7075
4
paź 20
8771
1
mar 15
4291