Skip to content

Commit

Permalink
[fix] [minor] email settings - set send print in body and attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshdarjee committed Dec 5, 2013
1 parent ca8f879 commit afc44cf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -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,'')=''""")
1 change: 1 addition & 0 deletions patches/patch_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,5 @@
"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",
]

0 comments on commit afc44cf

Please sign in to comment.