From 8bb4ba46386fe84a611e29155f87761ebc9e8555 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 26 Sep 2011 15:16:06 +0530 Subject: [PATCH] unhide group/ledger field in cost senter for import purpose --- patches/patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index f8f61a5f980..5db300a7974 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -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'")