brotherton-erpnext/erpnext/patches/v11_0/rename_health_insurance.py
2019-12-19 19:07:29 +05:30

9 lines
330 B
Python

# Copyright (c) 2018, Frappe and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
def execute():
frappe.rename_doc('DocType', 'Health Insurance', 'Employee Health Insurance', force=True)
frappe.reload_doc('hr', 'doctype', 'employee_health_insurance')