brotherton-erpnext/erpnext/patches/april_2012/remove_default_from_rv_detail.py

4 lines
183 B
Python
Raw Normal View History

def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set `default` = '' where fieldname = 'cost_center' and parent = 'RV Detail' and `default` = 'Purchase - TC'")