Merge pull request !12461 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2026-07-20 04:12:29 +00:00
committed by Gitee
+1 -1
View File
@@ -861,7 +861,7 @@ class HolidaysRequestBatch(models.Model):
interval_start = interval['start']
interval_end = interval['end']
if self.is_hour:
interval_hours = hours
interval_hours = hours / 8
else:
interval_hours = self._compute_duration_day(holiday_type, interval_start, interval_end)
period_start = interval['period_start']