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

4 lines
177 B
Python
Raw Normal View History

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