From 3ecdff0b3ece9d3f46cff0a0fa375b300e948626 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Mon, 6 Jan 2025 11:53:36 +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 | 1 - 1 file changed, 1 deletion(-) diff --git a/yuthon_hr_attendance/models/yuthon_duty_plan.py b/yuthon_hr_attendance/models/yuthon_duty_plan.py index 15fc8248a..1d3476c8c 100644 --- a/yuthon_hr_attendance/models/yuthon_duty_plan.py +++ b/yuthon_hr_attendance/models/yuthon_duty_plan.py @@ -111,7 +111,6 @@ class YuthonDutyPlan(models.Model): zu = self.zu +1 current_date2 = first_day_of_month while current_date2 <= last_day_of_month: - self.zu = zu if zu == len(self.plan_line_ids): zu = 0 for employee in self.plan_line_ids[zu].employee_ids: