brotherton-erpnext/erpnext/patches/jan_mar_2012/update_purpose_se.py
2012-03-21 11:02:50 +05:30

4 lines
180 B
Python

def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set options = replace(options, 'Others', 'Other') where fieldname = 'purpose' and parent = 'Stock Entry'")