[FIX] project_issue: removed unspecied fields in postgres view

bzr revid: hmo@tinyerp.com-20100330112348-320i9l31i12cg6i8
This commit is contained in:
Harry (Open ERP) 2010-03-30 16:53:48 +05:30
parent 4669839682
commit 415d714484
1 changed files with 1 additions and 5 deletions

View 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