mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-30 15:09:47 +00:00
Purpose others to other
This commit is contained in:
3
erpnext/patches/jan_mar_2012/update_purpose_se.py
Normal file
3
erpnext/patches/jan_mar_2012/update_purpose_se.py
Normal file
@@ -0,0 +1,3 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.conn.sql("update `tabDocField` set options = replace(options, 'Others', 'Other') where fieldname = 'purpose' and parent = 'Stock Entry'")
|
||||
@@ -197,5 +197,10 @@ patch_list = [
|
||||
'patch_file': 'reload_quote',
|
||||
'description': 'reload quote: organization fld added'
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.jan_mar_2012',
|
||||
'patch_file': 'update_purpose_se',
|
||||
'description': 'Purpose SE: Others to Other'
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user