19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-25 12:00:11 +01:00
parent e1d89e11e3
commit a1f02d8cc7
225 changed files with 2335 additions and 775 deletions

View file

@ -95,7 +95,11 @@ class HrLeaveEmployeeTypeReport(models.Model):
ON vl.employee_id = oa.employee_id
AND vl.leave_type = oa.leave_type
AND vl.date_from <= COALESCE(oa.date_to, 'infinity')
AND vl.date_to >= oa.date_from
AND (
oa.date_to IS NULL
OR
vl.date_to >= oa.date_from
)
GROUP BY oa.allocation_id
),