brotherton-erpnext/patches/december_2012/update_print_width.py

8 lines
283 B
Python
Raw Normal View History

2013-11-20 07:29:58 +00:00
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
2012-12-28 05:05:44 +00:00
import webnotes
def execute():
webnotes.reload_doc("core", "doctype", "docfield")
webnotes.conn.sql("""update tabDocField set print_width = width""")