!3700 添加功能

Merge pull request !3700 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2025-07-07 02:25:09 +00:00
committed by Gitee
+1 -3
View File
@@ -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: