diff --git a/erpnext/patches/sal_man_patch.py b/erpnext/patches/sal_man_patch.py index 1154f987ff..aef625154b 100644 --- a/erpnext/patches/sal_man_patch.py +++ b/erpnext/patches/sal_man_patch.py @@ -2,4 +2,7 @@ def execute(): import webnotes from webnotes.modules.module_manager import reload_doc + sql = webnotes.conn.sql + reload_doc('hr', 'doctype', 'salary_manager') + sql("delete from `tabDocField` where parent = 'Salary Manager' and fieldname = 'employment_type'")