mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +00:00
Merge pull request #22340 from frappe/mergify/bp/version-12-hotfix/pr-22312
fix: Email digest html view fix (bp #22312)
This commit is contained in:
@@ -101,8 +101,7 @@ class EmailDigest(Document):
|
||||
if not context.purchase_order_list:
|
||||
frappe.throw(_("No items to be received are overdue"))
|
||||
|
||||
if not (context.events or context.todo_list or context.notifications or context.cards
|
||||
or context.purchase_orders_items_overdue_list):
|
||||
if not context:
|
||||
return None
|
||||
|
||||
frappe.flags.ignore_account_permission = False
|
||||
|
||||
Reference in New Issue
Block a user