fix syntax (#13773)

This commit is contained in:
Shreya Shah 2018-04-24 12:20:21 +05:30 committed by Nabin Hait
parent 4dc453d131
commit 3cf35f2496

View File

@ -265,11 +265,11 @@ def install(country=None):
base_path = frappe.get_app_path("erpnext", "hr", "doctype")
response = frappe.read_file(os.path.join(base_path, "leave_application/leave_application_email_template.html"))
records += {'doctype': 'Email Template', 'name': _("Leave Approval Notification"), 'response': response,\
'subject': _("Leave Approval Notification"), 'owner': frappe.session.user}
records += [{'doctype': 'Email Template', 'name': _("Leave Approval Notification"), 'response': response,\
'subject': _("Leave Approval Notification"), 'owner': frappe.session.user}]
records += {'doctype': 'Email Template', 'name': _("Leave Status Notification"), 'response': response,\
'subject': _("Leave Status Notification"), 'owner': frappe.session.user}
records += [{'doctype': 'Email Template', 'name': _("Leave Status Notification"), 'response': response,\
'subject': _("Leave Status Notification"), 'owner': frappe.session.user}]
# Records for the Supplier Scorecard
from erpnext.buying.doctype.supplier_scorecard.supplier_scorecard import make_default_records