Minor fix in reloading email template
This commit is contained in:
parent
53b1125820
commit
673b75fbe3
1 changed files with 1 additions and 1 deletions
|
|
@ -4,4 +4,4 @@ from frappe.model.rename_doc import rename_doc
|
|||
def execute():
|
||||
if frappe.db.table_exists("Standard Reply") and not frappe.db.table_exists("Email Template"):
|
||||
rename_doc('DocType', 'Standard Reply', 'Email Template')
|
||||
frappe.reload_doc('setup', 'doctype', 'email_template')
|
||||
frappe.reload_doc('email', 'doctype', 'email_template')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue