Browse Source

fix syntax (#13773)

develop
Shreya Shah 7 years ago
committed by Nabin Hait
parent
commit
3cf35f2496
  1. 8
      erpnext/setup/setup_wizard/operations/install_fixtures.py

8
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

Loading…
Cancel
Save