mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
Minor fix in reloading email template
This commit is contained in:
@@ -2,7 +2,7 @@ import frappe, os
|
|||||||
from frappe import _
|
from frappe import _
|
||||||
|
|
||||||
def execute():
|
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')):
|
if not frappe.db.exists("Email Template", _('Leave Approval Notification')):
|
||||||
base_path = frappe.get_app_path("erpnext", "hr", "doctype")
|
base_path = frappe.get_app_path("erpnext", "hr", "doctype")
|
||||||
|
|||||||
Reference in New Issue
Block a user