Skip to content

Commit

Permalink
fix: job card suggest holiday as start date (#35958)
Browse files Browse the repository at this point in the history
  • Loading branch information
101v authored Jul 31, 2023
1 parent 05b07e0 commit ce36d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/manufacturing/doctype/workstation/workstation.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def validate_workstation_holiday(self, schedule_date, skip_holiday_list_check=Fa

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

Expand Down

0 comments on commit ce36d1f

Please sign in to comment.