跳至内容
菜单
此问题已终结
1 回复
3822 查看

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?

相关帖文 回复 查看 活动
3
6月 23
4725
Attendance 已解决
2
10月 22
2832
4
10月 21
7177
4
10月 20
8953
1
3月 15
4388