updated report
This commit is contained in:
parent
35a61b74c5
commit
41c24b61ab
|
@ -33,7 +33,7 @@ class BudgetAmtAnalysis(models.Model):
|
|||
LEFT JOIN sale_order SO ON PRO.sale_order_id = SO.id
|
||||
LEFT JOIN account_analytic_account AA ON PRO.analytic_account_id = AA.id
|
||||
LEFT JOIN account_analytic_line AAL ON AAL.account_id = AA.id and AAL.project_id = PRO.id
|
||||
WHERE PRO.active = 't'
|
||||
WHERE PRO.active = 't' and PRO.pricing_type!='fixed_rate'
|
||||
group by Pro.id, PRO.partner_id, Pro.budgeted_revenue, so.amount_total
|
||||
)""" % (self._table,))
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class BudgetHrsAnalysis(models.Model):
|
|||
LEFT JOIN account_analytic_account AA ON Pro.analytic_account_id = AA.id
|
||||
LEFT JOIN account_analytic_line AAL ON AAL.account_id = AA.id and AAL.project_id = Pro.id
|
||||
and AAL.employee_id = Pro_emp.employee_id
|
||||
Where PRO.active = 't'
|
||||
Where PRO.active = 't' and PRO.pricing_type!='fixed_rate'
|
||||
group by Pro.id, Pro_emp.id, PRO.partner_id, AAL.employee_id, AAL.unit_amount
|
||||
)""" % (self._table,))
|
||||
|
||||
|
|
Loading…
Reference in New Issue