diff --git a/erpnext/hr/report/employee_leave_balance/employee_leave_balance.py b/erpnext/hr/report/employee_leave_balance/employee_leave_balance.py index 660f33cc4c2..192b255f3e0 100644 --- a/erpnext/hr/report/employee_leave_balance/employee_leave_balance.py +++ b/erpnext/hr/report/employee_leave_balance/employee_leave_balance.py @@ -7,7 +7,7 @@ from typing import Dict, List, Optional, Tuple import frappe from frappe import _ -from frappe.utils import add_days, getdate +from frappe.utils import add_days, cint, getdate from erpnext.hr.doctype.leave_allocation.leave_allocation import get_previous_allocation from erpnext.hr.doctype.leave_application.leave_application import (