brotherton-erpnext/patches/jan_mar_2012/remove_series_defval.py
2012-09-24 19:13:42 +05:30

5 lines
217 B
Python

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