fix: patch
This commit is contained in:
parent
01b37ad704
commit
ddfc104239
@ -6,6 +6,7 @@ import frappe
|
|||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.reload_doc("setup", "doctype", "Email Digest")
|
frappe.reload_doc("setup", "doctype", "Email Digest")
|
||||||
|
frappe.reload_doc("setup", "doctype", "Email Digest Recipient")
|
||||||
email_digests = frappe.db.get_list('Email Digest', fields=['name', 'recipient_list'])
|
email_digests = frappe.db.get_list('Email Digest', fields=['name', 'recipient_list'])
|
||||||
for email_digest in email_digests:
|
for email_digest in email_digests:
|
||||||
if email_digest.recipient_list:
|
if email_digest.recipient_list:
|
||||||
|
Loading…
Reference in New Issue
Block a user