mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
[fix] [minor] remove email patch
This commit is contained in:
@@ -1,17 +0,0 @@
|
|||||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
|
||||||
# License: GNU General Public License v3. See license.txt
|
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
import webnotes
|
|
||||||
|
|
||||||
def execute():
|
|
||||||
doctype = webnotes.conn.sql("""select doctype from `tabSingles`
|
|
||||||
where doctype = 'Email Settings'""")
|
|
||||||
if not doctype:
|
|
||||||
email_settings = webnotes.bean("Email Settings", "Email Settings")
|
|
||||||
email_settings.doc.send_print_in_body_and_attachment = 1
|
|
||||||
email_settings.save()
|
|
||||||
|
|
||||||
webnotes.conn.sql("""update `tabSingles` set value = 1
|
|
||||||
where doctype = 'Email Settings' and field = 'send_print_in_body_and_attachment' and
|
|
||||||
ifnull(value,'')=''""")
|
|
||||||
@@ -258,5 +258,4 @@ patch_list = [
|
|||||||
"execute:webnotes.delete_doc('Report', 'Stock Ledger') #2013-11-29",
|
"execute:webnotes.delete_doc('Report', 'Stock Ledger') #2013-11-29",
|
||||||
"execute:webnotes.delete_doc('Report', 'Payment Collection With Ageing')",
|
"execute:webnotes.delete_doc('Report', 'Payment Collection With Ageing')",
|
||||||
"execute:webnotes.delete_doc('Report', 'Payment Made With Ageing')",
|
"execute:webnotes.delete_doc('Report', 'Payment Made With Ageing')",
|
||||||
"patches.december_2013.p01_email_settings_set_send_print_in_body_and_attachment",
|
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user