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: