10 lines
280 B
Python
10 lines
280 B
Python
import frappe
|
|
|
|
def execute():
|
|
frappe.reload_doctype("Email Digest")
|
|
frappe.db.sql("""update `tabEmail Digest` set expense_year_to_date =
|
|
income_year_to_date""")
|
|
|
|
if frappe.db.exists("Email Digest", "Scheduler Errors"):
|
|
frappe.delete_doc("Email Digest", "Scheduler Errors")
|