From 8670dda5b76c9abfff11c15c33c6e2367bce66ee Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Thu, 21 Jan 2021 16:47:04 +0530 Subject: [PATCH] fix: Use abbr method for abbr --- erpnext/templates/emails/birthday_reminder.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/templates/emails/birthday_reminder.html b/erpnext/templates/emails/birthday_reminder.html index 5f2f13dce5..12cdf1ec60 100644 --- a/erpnext/templates/emails/birthday_reminder.html +++ b/erpnext/templates/emails/birthday_reminder.html @@ -13,7 +13,7 @@ class="avatar-frame standard-image" style="{{ css_style or '' }}" title="{{ person.name }}"> - {{ person.name[:1] }} + {{ frappe.utils.get_abbr(person.name) }} {% endif %} {% endfor %}