mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-28 22:28:24 +00:00
fix: use qb for functions
This commit is contained in:
committed by
Akhil Narang
parent
ec4d4a0d6c
commit
d40e660a52
@@ -799,7 +799,7 @@ class EmailDigest(Document):
|
||||
"status": ["not in", ("Cancelled")],
|
||||
"company": self.company,
|
||||
},
|
||||
fields=["count(*) as count", "sum(grand_total) as grand_total"],
|
||||
fields=[{"COUNT": "*", "as": "count"}, "sum(grand_total) as grand_total"],
|
||||
)
|
||||
|
||||
def get_from_to_date(self):
|
||||
|
||||
Reference in New Issue
Block a user