mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-26 20:12:05 +02:00
19.0 vanilla
This commit is contained in:
parent
e1d89e11e3
commit
a1f02d8cc7
225 changed files with 2335 additions and 775 deletions
|
|
@ -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
|
||||
),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue