Fieldname changed in Features Setup
This commit is contained in:
parent
b30c4a6611
commit
a55eec137f
@ -1,7 +1,7 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
|
|
||||||
last_patch = 376
|
last_patch = 377
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@ -420,3 +420,6 @@ def execute(patch_no):
|
|||||||
sql("delete from `tabDefaultValue` where defkey in (%s) and parent = 'Control Panel'" % st)
|
sql("delete from `tabDefaultValue` where defkey in (%s) and parent = 'Control Panel'" % st)
|
||||||
|
|
||||||
get_obj('Features Setup', 'Features Setup').doc.save()
|
get_obj('Features Setup', 'Features Setup').doc.save()
|
||||||
|
elif patch_no == 377:
|
||||||
|
sql("delete from `tabDocField` where fieldname = 'item_searial_nos' and parent = 'Features Setup'")
|
||||||
|
sql("delete from `tabDefaultValue` where defkey = 'item_searial_nos' and parent = 'Control Panel'")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user