10 lines
213 B
Python
10 lines
213 B
Python
import frappe
|
|
|
|
|
|
def execute():
|
|
# remove all example.com email user accounts from notifications
|
|
frappe.db.sql(
|
|
"""UPDATE `tabUser`
|
|
SET thread_notify=0, send_me_a_copy=0
|
|
WHERE email like '%@example.com'"""
|
|
)
|