[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:
Nicolas Martinelli
2016-07-07 11:35:52 +02:00
parent a082ec6aea
commit 7e0e27ea79
@@ -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,