From 6064c5864fc862949bb52d84a6d12f9aa78e7f09 Mon Sep 17 00:00:00 2001 From: projectsodoo Date: Mon, 11 Jan 2021 23:26:49 +0530 Subject: [PATCH] Fixed report cons updated --- project_report/report/project_budget_amt_analysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project_report/report/project_budget_amt_analysis.py b/project_report/report/project_budget_amt_analysis.py index 8443c95..a42a023 100755 --- a/project_report/report/project_budget_amt_analysis.py +++ b/project_report/report/project_budget_amt_analysis.py @@ -81,8 +81,8 @@ class BudgetAmtAnalysis(models.Model): 'Actual Revenue' as amount_type, PRO.pricing_type as pricing_type, PRO.project_type as project_type, - (AAL.amount * -1) + pro.expenses_amt AS revenue - --pro.total_expenses AS revenue + --(AAL.amount * -1) + pro.expenses_amt AS revenue + pro.total_expenses AS revenue FROM project_project PRO 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