9 lines
262 B
Python
Raw Normal View History

2011-11-07 10:51:29 +05:30
def execute():
import webnotes
from webnotes.modules.module_manager import reload_doc
2011-11-07 11:07:50 +05:30
sql = webnotes.conn.sql
2011-11-07 10:51:29 +05:30
reload_doc('hr', 'doctype', 'salary_manager')
2011-11-07 11:07:50 +05:30
sql("delete from `tabDocField` where parent = 'Salary Manager' and fieldname = 'employment_type'")