[fix] [minor] email settings - set send print in body and attachment

This commit is contained in:
Akhilesh Darjee 2013-12-05 17:42:53 +05:30
parent ca8f87903c
commit afc44cf54e
3 changed files with 11 additions and 0 deletions

View File

View File

@ -0,0 +1,10 @@
# 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():
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,4 +258,5 @@ 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",
]