unhide group/ledger field in cost senter for import purpose

This commit is contained in:
Nabin Hait 2011-09-26 15:16:06 +05:30
parent 03456444f7
commit 8bb4ba4638

View File

@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 369
last_patch = 370
#-------------------------------------------
@ -358,3 +358,5 @@ def execute(patch_no):
elif patch_no == 369:
reload_doc('hr', 'doctype', 'appraisal')
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'")