fix: remove incorrect validation throwing spurious error

This commit is contained in:
trustedcomputer
2026-01-18 08:32:46 -08:00
parent 96c3fccb05
commit d2e01e97f0

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