From 7a0a668666ef2062204de8d72d1b9c248e1b0d97 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Mon, 7 Jul 2025 10:24:31 +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_salary/models/inherit_hr_payslip.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/yuthon_salary/models/inherit_hr_payslip.py b/yuthon_salary/models/inherit_hr_payslip.py index 348c6a44b..4828fa67f 100644 --- a/yuthon_salary/models/inherit_hr_payslip.py +++ b/yuthon_salary/models/inherit_hr_payslip.py @@ -277,8 +277,6 @@ class InheritHrPayslip(models.Model): rec.base_salary_deduction = line.total if line.name == '优秀部门经理/员工奖励': rec.excellent_employees = line.total - if line.name == '考勤补发': - rec.leave_absence = line.total if line.name == '环境作业津贴': rec.environmental_allowance = line.total if line.name == '高温补贴': @@ -364,7 +362,7 @@ class InheritHrPayslip(models.Model): 'performance_deduction', 'commuting_deduction', 'retroactive_insurance', 'base_salary_deduction', 'last_year_performance_evaluation', 'safety_subsidy', 'job_performance', 'distribution_part', 'minus_att', 'add_att', - 'duty', 'monthly_overtime', 'annuity', 'excellent_employees', 'leave_absence', + 'duty', 'monthly_overtime', 'annuity', 'excellent_employees', 'retention_previous_year') def _compute_total_before_tax(self): for record in self: