brotherton-erpnext/erpnext/patches/remove_page_break_from_defaults.py

6 lines
147 B
Python

def execute():
import webnotes
webnotes.conn.sql("""\
DELETE FROM `tabDefaultValue`
WHERE parent='Control Panel' AND defkey='page_break'""")