fix: email patch and conference portal

This commit is contained in:
pateljannat
2021-04-06 18:51:40 +05:30
parent 87acbb9f6e
commit 7658942500
9 changed files with 142 additions and 73 deletions

View File

@@ -2,6 +2,7 @@ from __future__ import unicode_literals
import frappe
def execute():
frappe.reload_doc("community", "doctype", "community_member")
members = frappe.get_all("Community Member", ["name", "email_preference"])
for member in members:
if not member.email_preference: