[fix] [minor] remove email patch

This commit is contained in:
Akhilesh Darjee 2013-12-09 15:57:26 +05:30
parent a652347bd1
commit 7b1d9409f1
3 changed files with 0 additions and 18 deletions

View File

@ -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,'')=''""")

View File

@ -258,5 +258,4 @@ patch_list = [
"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 Made With Ageing')",
"patches.december_2013.p01_email_settings_set_send_print_in_body_and_attachment",
]