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

7 lines
170 B
Python
Raw Normal View History

from __future__ import unicode_literals
2015-11-27 06:53:31 +00:00
import frappe
def execute():
frappe.reload_doctype("Email Digest")
frappe.db.sql("update `tabEmail Digest` set add_quote = 1")