brotherton-erpnext/erpnext/patches/jan_mar_2012/no_copy_patch.py

4 lines
152 B
Python
Raw Normal View History

def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set no_copy = 1 where fieldname = 'insert_after' and parent = 'Custom Field'")