From 6dbf0aa4f0afcf0ade2d9908a08f848e5d3f1b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Thu, 29 Jan 2026 19:11:21 +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_employee/models/yuthon_medical_manage.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/yuthon_hr_employee/models/yuthon_medical_manage.py b/yuthon_hr_employee/models/yuthon_medical_manage.py index 618dbd3b0..6951e6fc2 100644 --- a/yuthon_hr_employee/models/yuthon_medical_manage.py +++ b/yuthon_hr_employee/models/yuthon_medical_manage.py @@ -172,11 +172,9 @@ class YuthonMedicalManage(models.Model): prev_last_year = str(int(current_year) - 2) last_year_quota = self._calculate_medical_quota(rec.employee_id, last_year) prev_last_year_quota = self._calculate_medical_quota(rec.employee_id, prev_last_year) - this_year_quota = self._calculate_medical_quota(rec.employee_id, current_year) rec.write({ 'this_year_quota': this_year_quota, 'last_year_quota': last_year_quota, - 'prev_last_year_quota': prev_last_year_quota, })