fix: job card suggest holiday as start date (#35958)

This commit is contained in:
Vimal 2023-07-31 13:21:31 +01:00 committed by GitHub
parent 05b07e098a
commit ce36d1f668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ class Workstation(Document):
if schedule_date in tuple(get_holidays(self.holiday_list)):
schedule_date = add_days(schedule_date, 1)
self.validate_workstation_holiday(schedule_date, skip_holiday_list_check=True)
return self.validate_workstation_holiday(schedule_date, skip_holiday_list_check=True)
return schedule_date