Merge pull request #16474 from deepeshgarg007/email_digest_fix

fix: Wrong argument fix in email digest filters
This commit is contained in:
Nabin Hait 2019-01-25 09:55:47 +05:30 committed by GitHub
commit 76d93e7220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)