mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-12 17:23:38 +00:00
fix: remove incorrect validation from email digest throwing spurious error (backport #51827) (#52579)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user