brotherton-erpnext/erpnext/patches/jan_mar_2012/remove_series_defval.py

4 lines
182 B
Python
Raw Normal View History

2012-03-06 05:49:29 +00:00
def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set `default`='' where parent = 'Receivable Voucher' and fieldname = 'naming_series' and `default` = 'INV'")