brotherton-erpnext/patches/april_2012/remove_default_from_rv_detail.py

5 lines
223 B
Python
Raw Normal View History

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