From 9058a41b290647ae158b5f3c62c91d015acbe8a3 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Wed, 21 Apr 2010 15:11:29 +0530 Subject: [PATCH] [IMP]:hr_evaluation:Improved SQL view report.(expand=0) bzr revid: apa@tinyerp.com-20100421094129-pds99lhs2bwk1erz --- addons/hr_evaluation/report/hr_evaluation_report.py | 2 +- addons/hr_evaluation/report/hr_evaluation_report_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr_evaluation/report/hr_evaluation_report.py b/addons/hr_evaluation/report/hr_evaluation_report.py index e8911f740d3..504bdcd08f4 100644 --- a/addons/hr_evaluation/report/hr_evaluation_report.py +++ b/addons/hr_evaluation/report/hr_evaluation_report.py @@ -71,7 +71,7 @@ class hr_evaluation_report(osv.osv): s.date_close as closed, to_char(s.create_date, 'YYYY') as year, to_char(s.create_date, 'MM') as month, - count(*) as nbr, + count(l.*) as nbr, s.state from hr_evaluation_interview l diff --git a/addons/hr_evaluation/report/hr_evaluation_report_view.xml b/addons/hr_evaluation/report/hr_evaluation_report_view.xml index e605e3b9261..0417fb0ffd2 100644 --- a/addons/hr_evaluation/report/hr_evaluation_report_view.xml +++ b/addons/hr_evaluation/report/hr_evaluation_report_view.xml @@ -71,7 +71,7 @@ - +