brotherton-erpnext/patches/jan_mar_2012/remove_series_defval.py

5 lines
217 B
Python
Raw Normal View History

from __future__ import unicode_literals
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'")