Minor fix in reloading email template

This commit is contained in:
Nabin Hait 2018-04-24 17:51:13 +05:30
parent 02c93a3d05
commit 5643c3ead2

View File

@ -2,7 +2,7 @@ import frappe, os
from frappe import _
def execute():
frappe.reload_doc("setup", "doctype", "email_template")
frappe.reload_doc("email", "doctype", "email_template")
if not frappe.db.exists("Email Template", _('Leave Approval Notification')):
base_path = frappe.get_app_path("erpnext", "hr", "doctype")