diff --git a/erpnext/setup/doctype/email_digest/email_digest.py b/erpnext/setup/doctype/email_digest/email_digest.py index c5c91d1b45..1de5ccb142 100644 --- a/erpnext/setup/doctype/email_digest/email_digest.py +++ b/erpnext/setup/doctype/email_digest/email_digest.py @@ -524,7 +524,7 @@ class EmailDigest(Document): filters = { "root_type": "Asset", "account_type": "Bank", - "date": self.future_to_date, + "report_date": self.future_to_date, "company": self.company } label = get_link_to_report('Account Balance', label=self.meta.get_label(fieldname), filters=filters) @@ -532,7 +532,7 @@ class EmailDigest(Document): filters = { "root_type": "Liability", "account_type": "Bank", - "to_date": self.future_to_date, + "report_date": self.future_to_date, "company": self.company } label = get_link_to_report('Account Balance', label=self.meta.get_label(fieldname), filters=filters)