fix patch to add email template in hr settings (#14427)

This commit is contained in:
Zarrar 2018-06-08 16:57:06 +05:30 committed by Nabin Hait
parent 44175904c6
commit 65994210f6
2 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@ erpnext.patches.v11_0.rename_employee_loan_to_loan
erpnext.patches.v11_0.move_leave_approvers_from_employee
erpnext.patches.v11_0.update_department_lft_rgt
erpnext.patches.v11_0.add_default_email_template_for_leave
erpnext.patches.v11_0.set_default_email_template_in_hr
erpnext.patches.v11_0.set_default_email_template_in_hr #08-06-2018
erpnext.patches.v11_0.uom_conversion_data
erpnext.patches.v10_0.taxes_issue_with_pos
erpnext.patches.v11_0.update_account_type_in_party_type

View File

@ -2,7 +2,7 @@ import frappe
def execute():
hr_settings = frappe.get_doc("HR Settings")
hr_settings = frappe.get_single("HR Settings")
hr_settings.leave_approval_notification_template = "Leave Approval Notification"
hr_settings.leave_status_notification_template = "Leave Status Notification"
hr_settings.save()