commit | 30d34c431190510edcb8553d678c64f1bf40704b | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Mon Nov 07 11:07:50 2011 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Mon Nov 07 11:07:50 2011 +0530 |
tree | 402e09c48bbcf799f8b643301f2200d2b3071e97 | |
parent | 990a5eaccab495ea477d964bf58d759dead6ec71 [diff] |
sal manager reload patch
diff --git a/erpnext/patches/sal_man_patch.py b/erpnext/patches/sal_man_patch.py index 1154f98..aef6251 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'")