[FIX] project_issue: removed unspecied fields in postgres view
bzr revid: hmo@tinyerp.com-20100330112348-320i9l31i12cg6i8
This commit is contained in:
parent
4669839682
commit
415d714484
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue