From fd4d349e4c53c830c2507ec6ae052bae331ac5e5 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Thu, 21 Jan 2021 16:46:40 +0530 Subject: [PATCH] fix: Use get_abbr method for abbr --- frappe/templates/includes/avatar_macro.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/templates/includes/avatar_macro.html b/frappe/templates/includes/avatar_macro.html index 736ecb8def..6983477f9c 100644 --- a/frappe/templates/includes/avatar_macro.html +++ b/frappe/templates/includes/avatar_macro.html @@ -11,7 +11,7 @@ - {{ user_info.name[:1] }} + {{ frappe.utils.get_abbr(user_info.name) }} {% endif %}