[patch-fix]

This commit is contained in:
Rushabh Mehta 2015-10-15 16:56:53 +05:30
parent 55f1ea05da
commit 2a1ba886f1

View File

@ -4,3 +4,6 @@ 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")