-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] [minor] email settings - set send print in body and attachment
- Loading branch information
1 parent
ca8f879
commit afc44cf
Showing
3 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
10 changes: 10 additions & 0 deletions
10
patches/december_2013/p01_email_settings_set_send_print_in_body_and_attachment.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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,'')=''""") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters