import frappe def execute(): frappe.reload_doctype("Email Digest") frappe.db.sql("update `tabEmail Digest` set add_quote = 1")