[FIX] hr_recruitment: incorrect recruitment report
The recruitment report used in the pivot view does not filter out the archived records. opw-682119
This commit is contained in:
@@ -59,6 +59,8 @@ class hr_recruitment_report(models.Model):
|
||||
extract('epoch' from (s.write_date-s.create_date))/(3600*24) as delay_close,
|
||||
count(*) as nbr
|
||||
from hr_applicant s
|
||||
where
|
||||
s.active = true
|
||||
group by
|
||||
s.date_open,
|
||||
s.create_date,
|
||||
|
||||
Reference in New Issue
Block a user