تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3804 أدوات العرض

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
يونيو 23
4712
Attendance تم الحل
2
أكتوبر 22
2821
4
أكتوبر 21
7161
4
أكتوبر 20
8934
1
مارس 15
4381