diff --git a/erpnext/patches/patch.py b/erpnext/patches/patch.py index 852c902b403..f78736bbef4 100644 --- a/erpnext/patches/patch.py +++ b/erpnext/patches/patch.py @@ -348,3 +348,4 @@ def execute(patch_no): 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'") + sql("update tabDocPerm set cancel = 1 where parent = 'Company' and role = 'System Manager'")