mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 17:53:49 +00:00
fix: remove incorrect validation from email digest throwing spurious error (backport #51827) (#52582)
This commit is contained in:
@@ -162,8 +162,6 @@ class EmailDigest(Document):
|
|||||||
context.purchase_order_list,
|
context.purchase_order_list,
|
||||||
context.purchase_orders_items_overdue_list,
|
context.purchase_orders_items_overdue_list,
|
||||||
) = self.get_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:
|
if not context:
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user