From 4454191c4ac7ba2be6565a8da149eb4cc31d331a Mon Sep 17 00:00:00 2001 From: prakash Date: Fri, 11 Mar 2022 15:04:16 +0530 Subject: [PATCH] Report Actual revenue updated --- project_report/report/project_budget_amt_analysis.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/project_report/report/project_budget_amt_analysis.py b/project_report/report/project_budget_amt_analysis.py index 17e142a..a31a4f5 100755 --- a/project_report/report/project_budget_amt_analysis.py +++ b/project_report/report/project_budget_amt_analysis.py @@ -132,9 +132,8 @@ class BudgetAmtAnalysis(models.Model): Left JOIN project_sale_line_employee_map pro_emp ON pro_emp.project_id = pro.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 and AAL.employee_id = pro_emp.employee_id - WHERE PRO.active = 't' and AAL.employee_id is not null and PRO.pricing_type = 'employee_rate' + WHERE PRO.active = 't' and AAL.employee_id is not null and PRO.pricing_type = 'employee_rate' and PRO.project_type = 'hours_in_consultant' group by pro.id, aal.employee_id, aal.date, aal.start_datetime, pro_emp.price_unit - --and PRO.project_type = 'hours_in_consultant' union SELECT pro.id AS project_id,