Merge pull request #4007 from expsa/samir-aladawi-improves-hr-reports

[FIX] hr_base_reports
This commit is contained in:
SamirLADOUI-sa 2025-07-23 15:08:59 +01:00 committed by GitHub
commit 7f2bd963e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -84,9 +84,9 @@ class EmployeeHandoverReportXlsx(models.AbstractModel):
sheet.write(row, clm + 2, rec.employee_id.name, format1)
sheet.write(row, clm + 3, rec.job_id.name, format1)
sheet.write(row, clm + 4, rec.employee_id.department_id.name, format1)
sheet.write(row, clm + 6, rec.reason, format1)
sheet.write(row, clm + 7, str(rec.create_date), format1)
sheet.write(row, clm + 5, str(rec.first_hire_date), format1)
sheet.write(row, clm + 5, rec.reason, format1)
sheet.write(row, clm + 6, str(rec.create_date), format1)
sheet.write(row, clm + 7, str(rec.first_hire_date), format1)
sheet.write(row, clm + 8, str(rec.last_work_date), format1)
sheet.write(row, clm + 9, rec.employee_id.working_location.name, format1)
sheet.write(row, clm + 10, rec.employee_id.parent_id.name, format1)