Fixed report cons updated

This commit is contained in:
projectsodoo 2021-01-11 23:16:14 +05:30
parent e4746d5d2c
commit 0597b6afdf
1 changed files with 2 additions and 2 deletions

View File

@ -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