Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3816 Представления

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?

Аватар
Отменить
Лучший ответ

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






Аватар
Отменить

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

Related Posts Ответы Просмотры Активность
3
июн. 23
4722
Attendance Решено
2
окт. 22
2832
4
окт. 21
7170
4
окт. 20
8947
1
мар. 15
4388