diff --git a/erpnext/setup/setup_wizard/operations/install_fixtures.py b/erpnext/setup/setup_wizard/operations/install_fixtures.py index a7d5fb4dfc..8f761e5946 100644 --- a/erpnext/setup/setup_wizard/operations/install_fixtures.py +++ b/erpnext/setup/setup_wizard/operations/install_fixtures.py @@ -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