mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
link:company fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
last_patch = 304
|
last_patch = 305
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@@ -1205,3 +1205,5 @@ def execute(patch_no):
|
|||||||
elif patch_no == 304:
|
elif patch_no == 304:
|
||||||
sql("delete from `tabDocField` where parent = 'company' and label = 'Trash Company' and fieldtype = 'button'")
|
sql("delete from `tabDocField` where parent = 'company' and label = 'Trash Company' and fieldtype = 'button'")
|
||||||
reload_doc('setup', 'doctype', 'company')
|
reload_doc('setup', 'doctype', 'company')
|
||||||
|
elif patch_no == 305:
|
||||||
|
sql("update `tabDocField` set options = 'link:Company' where options='link:Company' and fieldname='company' and fieldtype='Select'")
|
||||||
|
|||||||
Reference in New Issue
Block a user