跳至內容
選單
此問題已被標幟
1 回覆
3801 瀏覽次數

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
4707
Attendance 已解決
2
10月 22
2805
4
10月 21
7156
4
10月 20
8916
1
3月 15
4375