@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user