[fix] [minor] removed leave by from leave application

This commit is contained in:
Akhilesh Darjee 2013-11-21 11:25:41 +05:30
parent ad45e31356
commit 8991ad719c

View File

@ -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
}