diff --git a/erpnext/setup/doctype/email_digest/email_digest.py b/erpnext/setup/doctype/email_digest/email_digest.py index 62b1e3e2e4..3498a7f55f 100644 --- a/erpnext/setup/doctype/email_digest/email_digest.py +++ b/erpnext/setup/doctype/email_digest/email_digest.py @@ -660,12 +660,19 @@ class DocType: if self.doc.fields[k]: if k in result: table_list.append(body_dict[k]['table']) - elif k in ['collections', 'payments', 'bank_balance']: + elif k in ['collections', 'payments']: table_list.append(\ "
[" + \ k.capitalize() + \ - "]
Missing: Ledger of type 'Bank or Cash'\ + "]
Missing: Account of type 'Bank or Cash'\
") + elif k=='bank_balance': + table_list.append(\ + "
[" + \ + "Bank Balance" + \ + "]
Alert: GL Entry not found for Account of type 'Bank or Cash'\ +
") + i = 0 result = []