report updated
This commit is contained in:
parent
089a7b4dad
commit
31bce72bdb
|
@ -30,7 +30,7 @@ class BudgetAmtAnalysis(models.Model):
|
|||
--PRO.budgeted_hours AS budgeted_revenue,
|
||||
--sum(AAL.amount) AS budgeted_revenue
|
||||
SO.amount_total AS budgeted_revenue,
|
||||
SO.amount_total - sum(-1 * AAL.amount) AS actual_revenue
|
||||
sum(-1 * AAL.amount) AS actual_revenue
|
||||
FROM project_project PRO
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue