From 2d26fe48ed6d3bcda17cc553c4d87c6ae4f2df9b Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 16 Sep 2011 14:35:57 +0530 Subject: [PATCH] removed sal structure amend permission --- erpnext/patches/patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/patches/patch.py b/erpnext/patches/patch.py index e930c2e05ef..852c902b403 100644 --- a/erpnext/patches/patch.py +++ b/erpnext/patches/patch.py @@ -1,7 +1,7 @@ # REMEMBER to update this # ======================== -last_patch = 366 +last_patch = 367 #------------------------------------------- @@ -346,3 +346,5 @@ def execute(patch_no): bobj = get_obj('Bin',b[0]) prev_sle = bobj.get_prev_sle(posting_date = '2011-09-15', posting_time = '01:00') bobj.update_item_valuation(posting_date = '2011-09-15', posting_time = '01:00', prev_sle = prev_sle) + elif patch_no == 367: + sql("update tabDocPerm set amend = 0 where parent = 'Salary Structure'")