Skip to Content
Menu
This question has been flagged
1 Reply
3688 Views

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
Discard
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
Discard

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

Related Posts Replies Views Activity
3
Jun 23
4597
2
Oct 22
2663
4
Oct 21
7019
4
Oct 20
8735
1
Mar 15
4269