fix: remove incorrect validation from email digest throwing spurious error (backport #51827) (#52582)

This commit is contained in:
Trusted Computer
2026-02-09 10:15:56 -08:00
committed by GitHub
parent cf851cfa56
commit b034f3d3db

View File

@@ -162,8 +162,6 @@ class EmailDigest(Document):
context.purchase_order_list,
context.purchase_orders_items_overdue_list,
) = self.get_purchase_orders_items_overdue_list()
if not context.purchase_order_list:
frappe.throw(_("No items to be received are overdue"))
if not context:
return None