mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-14 15:57:41 +00:00
sal manager reload patch
This commit is contained in:
@@ -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'")
|
||||
|
||||
Reference in New Issue
Block a user