diff --git a/erpnext/setup/doctype/company/company.py b/erpnext/setup/doctype/company/company.py index 28f3a56cb0a..29630eeb843 100644 --- a/erpnext/setup/doctype/company/company.py +++ b/erpnext/setup/doctype/company/company.py @@ -317,7 +317,7 @@ def update_company_current_month_sales(company): results = frappe.db.sql((''' select - sum(grand_total) as total, date_format(posting_date, '%m-%Y') as month_year + sum(base_grand_total) as total, date_format(posting_date, '%m-%Y') as month_year from `tabSales Invoice` where