brotherton-erpnext/erpnext/patches/december_2012/fix_default_print_format.py
2013-12-11 10:43:52 +05:30

7 lines
277 B
Python

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
import webnotes
def execute():
webnotes.conn.sql("""update `tabDocType` set default_print_format=null
where default_print_format='Standard'""")