brotherton-erpnext/erpnext/patches/april_2012/remove_default_from_rv_detail.py
2012-04-23 18:26:08 +05:30

4 lines
183 B
Python

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