brotherton-erpnext/erpnext/patches/jan_mar_2012/remove_series_defval.py
2012-03-30 12:29:06 +05:30

4 lines
177 B
Python

def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set `default`='' where parent = 'Sales Invoice' and fieldname = 'naming_series' and `default` = 'INV'")