brotherton-erpnext/patches/december_2012/update_print_width.py
2012-12-28 10:35:44 +05:30

5 lines
152 B
Python

import webnotes
def execute():
webnotes.reload_doc("core", "doctype", "docfield")
webnotes.conn.sql("""update tabDocField set print_width = width""")