reload company txt
This commit is contained in:
parent
94a332a8ab
commit
627d01bd4b
@ -1,6 +1,6 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
last_patch = 306
|
last_patch = 307
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@ -1213,3 +1213,6 @@ def execute(patch_no):
|
|||||||
sql("update `tabDocField` set options = 'Sales Order' where parent = 'Indent Detail' and fieldname = 'sales_order_no'")
|
sql("update `tabDocField` set options = 'Sales Order' where parent = 'Indent Detail' and fieldname = 'sales_order_no'")
|
||||||
sql("update `tabDocField` set options = 'link:Company', fieldtype = 'Select' where parent = 'Stock Ledger Entry' and fieldname = 'company'")
|
sql("update `tabDocField` set options = 'link:Company', fieldtype = 'Select' where parent = 'Stock Ledger Entry' and fieldname = 'company'")
|
||||||
reload_doc('tools', 'doctype', 'rename_tool')
|
reload_doc('tools', 'doctype', 'rename_tool')
|
||||||
|
elif patch_no == 307:
|
||||||
|
sql("delete from `tabDocField` where parent = 'company' and label = 'Trash Company' and fieldtype = 'Button'")
|
||||||
|
reload_doc('setup', 'doctype', 'company')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user