[FIX] project_issue: removed unspecied fields in postgres view
authorHarry (Open ERP) <hmo@tinyerp.com>
Tue, 30 Mar 2010 11:23:48 +0000 (16:53 +0530)
committerHarry (Open ERP) <hmo@tinyerp.com>
Tue, 30 Mar 2010 11:23:48 +0000 (16:53 +0530)
bzr revid: hmo@tinyerp.com-20100330112348-320i9l31i12cg6i8

addons/project_issue/report/project_issue_report.py

index 3ea0b19..ef1e002 100644 (file)
@@ -35,11 +35,7 @@ class project_issue_report(osv.osv):
                     c.priority as priority,
                     c.project_id as project_id,
                     c.type_id as type_id,
-                    count(*) as nbr,
-                    sum(planned_revenue) as amount_revenue,
-                    sum(planned_cost) as amount_costs,
-                    sum(planned_revenue*probability/100)::decimal(16,2) as amount_revenue_prob,
-                    avg(probability)::decimal(16,2) as probability,
+                    count(*) as nbr,                    
                     to_char(avg(date_closed-c.create_date), 'DD"d" HH24:MI:SS') as delay_close
                 from
                     project_issue c