From 14ffe8b935174bc348d0843b5caf976e17d14368 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Tue, 13 Nov 2018 11:35:22 +0530 Subject: [PATCH] [Fix] Company dashboard sales count condition --- erpnext/setup/doctype/company/company_dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/setup/doctype/company/company_dashboard.py b/erpnext/setup/doctype/company/company_dashboard.py index 868284a75b..61332267e7 100644 --- a/erpnext/setup/doctype/company/company_dashboard.py +++ b/erpnext/setup/doctype/company/company_dashboard.py @@ -13,7 +13,7 @@ def get_data(): 'goal_doctype_link': 'company', 'goal_field': 'base_grand_total', 'date_field': 'posting_date', - 'filter_str': 'status != "Draft"', + 'filter_str': 'docstatus = 1', 'aggregation': 'sum' },