From 089a7b4dadf52f67aee6b26894f1383f1c11f750 Mon Sep 17 00:00:00 2001 From: projectsodoo Date: Mon, 21 Dec 2020 16:25:29 +0530 Subject: [PATCH] report updated --- project_report/report/project_budget_amt_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_report/report/project_budget_amt_analysis.py b/project_report/report/project_budget_amt_analysis.py index 85bf419..0ef8211 100755 --- a/project_report/report/project_budget_amt_analysis.py +++ b/project_report/report/project_budget_amt_analysis.py @@ -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(AAL.amount) AS actual_revenue + SO.amount_total - 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