diff --git a/erpnext/hr/report/monthly_attendance_sheet/test_monthly_attendance_sheet.py b/erpnext/hr/report/monthly_attendance_sheet/test_monthly_attendance_sheet.py index 38a5d92239b..cde7dd3ffff 100644 --- a/erpnext/hr/report/monthly_attendance_sheet/test_monthly_attendance_sheet.py +++ b/erpnext/hr/report/monthly_attendance_sheet/test_monthly_attendance_sheet.py @@ -221,7 +221,6 @@ class TestMonthlyAttendanceSheet(FrappeTestCase): # execute report without attendance record now = now_datetime() previous_month = now.month - 1 - previous_month_first = now.replace(day=1).replace(month=previous_month).date() company = frappe.db.get_value("Employee", self.employee, "company") filters = frappe._dict(