[fix] update_company_current_month_sales in company.py (#10005)
This commit is contained in:
parent
e355f99786
commit
dda608dd00
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user