From 984da316431fc1a6e6299119853d2385e5bcf9fb Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Mon, 6 Jan 2025 19:40:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/models/yuthon_duty_plan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/models/yuthon_duty_plan.py b/yuthon_hr_attendance/models/yuthon_duty_plan.py index 1de685f3d..3834a185a 100644 --- a/yuthon_hr_attendance/models/yuthon_duty_plan.py +++ b/yuthon_hr_attendance/models/yuthon_duty_plan.py @@ -120,7 +120,7 @@ class YuthonDutyPlan(models.Model): else: i = 0 - zu = self.zu +1 + zu = self.zu current_date2 = first_day_of_month while current_date2 <= last_day_of_month: if zu == len(self.plan_line_ids):