From 283d5550e6e4be764f626323cb2406c587353e5b Mon Sep 17 00:00:00 2001 From: Prateeksha Singh Date: Fri, 21 Jul 2017 14:21:35 +0530 Subject: [PATCH] [fix] set sales base field as base_grand_total (#10008) --- 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 32ad020132..da7f2b582a 100644 --- a/erpnext/setup/doctype/company/company_dashboard.py +++ b/erpnext/setup/doctype/company/company_dashboard.py @@ -14,7 +14,7 @@ def get_data(): 'goal_history_field': 'sales_monthly_history', 'goal_doctype': 'Sales Invoice', 'goal_doctype_link': 'company', - 'goal_field': 'grand_total', + 'goal_field': 'base_grand_total', 'date_field': 'posting_date', 'filter_str': 'status != "Draft"', 'aggregation': 'sum'