diff --git a/erpnext/patches/jan_mar_2012/remove_series_defval.py b/erpnext/patches/jan_mar_2012/remove_series_defval.py new file mode 100644 index 00000000000..123cc412954 --- /dev/null +++ b/erpnext/patches/jan_mar_2012/remove_series_defval.py @@ -0,0 +1,3 @@ +def execute(): + import webnotes + webnotes.conn.sql("update `tabDocField` set `default`='' where parent = 'Receivable Voucher' and fieldname = 'naming_series' and `default` = 'INV'") diff --git a/erpnext/patches/patch_list.py b/erpnext/patches/patch_list.py index 7750962963b..85a11a591d6 100644 --- a/erpnext/patches/patch_list.py +++ b/erpnext/patches/patch_list.py @@ -177,5 +177,10 @@ patch_list = [ 'patch_file': 'reload_table', 'description': 'Relaod all item table: fld order changes' }, + { + 'patch_module': 'patches.jan_mar_2012', + 'patch_file': 'remove_series_defval', + 'description': 'Remove rv series default value' + }, ]