mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
unhide group/ledger field in cost senter for import purpose
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
|
|
||||||
last_patch = 369
|
last_patch = 370
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@@ -358,3 +358,5 @@ def execute(patch_no):
|
|||||||
elif patch_no == 369:
|
elif patch_no == 369:
|
||||||
reload_doc('hr', 'doctype', 'appraisal')
|
reload_doc('hr', 'doctype', 'appraisal')
|
||||||
reload_doc('hr', 'doctype', 'appraisal_detail')
|
reload_doc('hr', 'doctype', 'appraisal_detail')
|
||||||
|
elif patch_no == 370:
|
||||||
|
sql("update `tabDocField` set `hidden` = 0 where fieldname = 'group_or_ledger' and parent = 'Cost Center'")
|
||||||
|
|||||||
Reference in New Issue
Block a user