[IMP]:hr_evaluation:Improved SQL view report.(expand=0)
authorapa-tiny <apa@tinyerp.com>
Wed, 21 Apr 2010 09:41:29 +0000 (15:11 +0530)
committerapa-tiny <apa@tinyerp.com>
Wed, 21 Apr 2010 09:41:29 +0000 (15:11 +0530)
bzr revid: apa@tinyerp.com-20100421094129-pds99lhs2bwk1erz

addons/hr_evaluation/report/hr_evaluation_report.py
addons/hr_evaluation/report/hr_evaluation_report_view.xml

index e8911f7..504bdcd 100644 (file)
@@ -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
index e605e3b..0417fb0 100644 (file)
@@ -71,7 +71,7 @@
                        <field name="employee_id" widget="selection"/>
                 </group>
                 <newline/>
-                               <group expand="1" string="Extended options..." colspan="10" col="12">
+                               <group expand="0" string="Extended options..." colspan="10" col="12">
                        <filter icon="terp-hr"
                                string="Done"
                                domain="[('state','=','done')]"/>