Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3828 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
3
giu 23
4732
Attendance Risolto
2
ott 22
2834
4
ott 21
7181
4
ott 20
8965
1
mar 15
4388