Renamed Health Insurance to Employee Health Insurance

This commit is contained in:
Nabin Hait
2018-04-15 15:03:54 +05:30
parent 265426a5a6
commit 8076d6ddc8
9 changed files with 175 additions and 36 deletions

View File

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