添加功能

This commit is contained in:
zhou
2025-01-06 11:53:36 +08:00
parent 50e2f265e3
commit 3ecdff0b3e
@@ -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: