commit | 14ffe8b935174bc348d0843b5caf976e17d14368 | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Tue Nov 13 11:35:22 2018 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Tue Nov 13 11:35:38 2018 +0530 |
tree | 0e24cd64c857fe606bbe3e6caf50774824a1cb7b | |
parent | bf20be53efc4476646e047d2d8565393cea5c660 [diff] |
[Fix] Company dashboard sales count condition
diff --git a/erpnext/setup/doctype/company/company_dashboard.py b/erpnext/setup/doctype/company/company_dashboard.py index 868284a..6133226 100644 --- a/erpnext/setup/doctype/company/company_dashboard.py +++ b/erpnext/setup/doctype/company/company_dashboard.py
@@ -13,7 +13,7 @@ 'goal_doctype_link': 'company', 'goal_field': 'base_grand_total', 'date_field': 'posting_date', - 'filter_str': 'status != "Draft"', + 'filter_str': 'docstatus = 1', 'aggregation': 'sum' },