Merge pull request #3834 from expsa/ahmed-odex-hr

fix it date field
This commit is contained in:
ahmed-nouri051 2025-07-09 15:26:28 +02:00 committed by GitHub
commit 259e36e139
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -2414,8 +2414,8 @@ class HrPayslipRun(models.Model):
[data] = self.read() [data] = self.read()
from_date = str(self.date_start) from_date = str(self.date_start)
to_date = str(self.date_end) to_date = str(self.date_end)
holiday_start_date = str(self.holiday_start_date) holiday_start_date = str(self.holiday_start_date) if self.holiday_start_date else False
holiday_end_date = str(self.holiday_end_date) holiday_end_date = str(self.holiday_end_date) if self.holiday_end_date else False
start_time = time.time() start_time = time.time()
#worked_days, emps, dictionary = [], [], [] #worked_days, emps, dictionary = [], [], []