Purpose others to other
This commit is contained in:
parent
ba62cf3b5a
commit
39a24794eb
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',
|
'patch_file': 'reload_quote',
|
||||||
'description': 'reload quote: organization fld added'
|
'description': 'reload quote: organization fld added'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'patch_module': 'patches.jan_mar_2012',
|
||||||
|
'patch_file': 'update_purpose_se',
|
||||||
|
'description': 'Purpose SE: Others to Other'
|
||||||
|
},
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:09:25',
|
'creation': '2010-08-08 17:09:25',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2012-03-20 14:28:17',
|
'modified': '2012-03-21 11:00:48',
|
||||||
'modified_by': u'Administrator',
|
'modified_by': u'Administrator',
|
||||||
'owner': u'Administrator'
|
'owner': u'Administrator'
|
||||||
},
|
},
|
||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': u'1332225743',
|
'_last_update': u'1332233897',
|
||||||
'allow_attach': 0,
|
'allow_attach': 0,
|
||||||
'allow_copy': 0,
|
'allow_copy': 0,
|
||||||
'allow_email': 0,
|
'allow_email': 0,
|
||||||
@ -41,7 +41,7 @@
|
|||||||
'subject': u'%(remarks)s',
|
'subject': u'%(remarks)s',
|
||||||
'tag_fields': u'purpose',
|
'tag_fields': u'purpose',
|
||||||
'use_template': 0,
|
'use_template': 0,
|
||||||
'version': 258
|
'version': 259
|
||||||
},
|
},
|
||||||
|
|
||||||
# These values are common for all DocField
|
# These values are common for all DocField
|
||||||
@ -234,7 +234,7 @@
|
|||||||
'no_copy': 0,
|
'no_copy': 0,
|
||||||
'oldfieldname': u'purpose',
|
'oldfieldname': u'purpose',
|
||||||
'oldfieldtype': u'Select',
|
'oldfieldtype': u'Select',
|
||||||
'options': u'Material Issue\nMaterial Receipt\nMaterial Transfer\nSales Return\nPurchase Return\nSubcontracting\nProduction Order\nOthers',
|
'options': u'Material Issue\nMaterial Receipt\nMaterial Transfer\nSales Return\nPurchase Return\nSubcontracting\nProduction Order\nOther',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user