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

4 lines
182 B
Python

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