From 8991ad719c0cea8d2324778917ca7290bc07a440 Mon Sep 17 00:00:00 2001 From: Akhilesh Darjee Date: Thu, 21 Nov 2013 11:25:41 +0530 Subject: [PATCH] [fix] [minor] removed leave by from leave application --- hr/doctype/leave_application/leave_application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hr/doctype/leave_application/leave_application.py b/hr/doctype/leave_application/leave_application.py index aeeb640d93..38ca3061d4 100755 --- a/hr/doctype/leave_application/leave_application.py +++ b/hr/doctype/leave_application/leave_application.py @@ -281,7 +281,7 @@ def add_leaves(events, start, end, employee, company, match_conditions=None): "from_date": d.from_date, "to_date": d.to_date, "status": d.status, - "title": _("Leave by") + " " + cstr(d.employee_name) + \ + "title": cstr(d.employee_name) + \ (d.half_day and _(" (Half Day)") or ""), "docstatus": d.docstatus }