From 255aa7a84a5f3cc276819ff8705c3d714266d58f Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Wed, 28 Sep 2022 15:02:21 +0530 Subject: [PATCH] fix: don't count half day in absent days in Monthly Attendance Sheet summarized view (#32399) --- .../report/monthly_attendance_sheet/monthly_attendance_sheet.py | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.py b/erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.py index c6f5bf05891..da94d96adb0 100644 --- a/erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.py +++ b/erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.py @@ -181,7 +181,6 @@ def add_data( total_l += 1 elif status == "Half Day": total_p += 0.5 - total_a += 0.5 total_l += 0.5 elif not status: total_um += 1