brotherton-erpnext/patches/december_2012/fix_default_print_format.py
2012-12-11 14:01:59 +05:30

4 lines
146 B
Python

import webnotes
def execute():
webnotes.conn.sql("""update `tabDocType` set default_print_format=null
where default_print_format='Standard'""")