brotherton-erpnext/erpnext/patches/v6_10/email_digest_default_quote.py

7 lines
170 B
Python

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