From 7e0e27ea79c8fb1ae777308a45d2daecc39b049b Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Wed, 6 Jul 2016 17:35:33 +0200 Subject: [PATCH] [FIX] hr_recruitment: incorrect recruitment report The recruitment report used in the pivot view does not filter out the archived records. opw-682119 --- addons/hr_recruitment/report/hr_recruitment_report.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/hr_recruitment/report/hr_recruitment_report.py b/addons/hr_recruitment/report/hr_recruitment_report.py index 2d6c9250986..ea18a58a35d 100644 --- a/addons/hr_recruitment/report/hr_recruitment_report.py +++ b/addons/hr_recruitment/report/hr_recruitment_report.py @@ -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,