diff --git a/erpnext/hr/doctype/leave_application/leave_application.py b/erpnext/hr/doctype/leave_application/leave_application.py index d8a2fe30de..48d9b87e3b 100755 --- a/erpnext/hr/doctype/leave_application/leave_application.py +++ b/erpnext/hr/doctype/leave_application/leave_application.py @@ -9,13 +9,10 @@ from frappe.utils import cint, cstr, date_diff, flt, formatdate, getdate, get_li from erpnext.hr.utils import set_employee_name, get_leave_period from erpnext.hr.doctype.leave_block_list.leave_block_list import get_applicable_block_dates from erpnext.hr.doctype.employee.employee import get_holiday_list_for_employee -from erpnext.hr.doctype.employee_leave_approver.employee_leave_approver import get_approver_list from erpnext.buying.doctype.supplier_scorecard.supplier_scorecard import daterange class LeaveDayBlockedError(frappe.ValidationError): pass class OverlapError(frappe.ValidationError): pass -class InvalidLeaveApproverError(frappe.ValidationError): pass -class LeaveApproverIdentityError(frappe.ValidationError): pass class AttendanceAlreadyMarkedError(frappe.ValidationError): pass class NotAnOptionalHoliday(frappe.ValidationError): pass