UPDATE hr_base_reports

This commit is contained in:
manar 2025-02-25 19:03:06 +02:00
parent 05f68408f0
commit 921748f71e
1 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,8 @@ class EmployeeGeneralReportXlsx(models.AbstractModel):
sheet.write(row, clm, seq, format1)
sheet.write(row, clm + 1, rec.emp_no, format1)
sheet.write(row, clm + 2, rec.name, format1)
sheet.write(row, clm + 3, rec.working_location, format1)
working_location = rec.working_location.name or False
sheet.write(row, clm + 3, working_location, format1)
sheet.write(row, clm + 4, rec.department_id.name, format1)
sheet.write(row, clm + 5, rec.job_id.name, format1)
sheet.write(row, clm + 6, rec.first_hiring_date, format1)