mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
Merge pull request #51827 from trustedcomputer/fix-email-digest
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