diff --git a/yuthon_salary/models/inherit_hr_payslip.py b/yuthon_salary/models/inherit_hr_payslip.py index 095ca57ee..12541d983 100644 --- a/yuthon_salary/models/inherit_hr_payslip.py +++ b/yuthon_salary/models/inherit_hr_payslip.py @@ -148,7 +148,7 @@ class InheritHrPayslip(models.Model): if rec.line_ids: for line in rec.line_ids: if line.name == '值班费': - rec.duty_fee = line.total + rec.duty = line.total if line.name == '综合补贴': rec.comprehensive_subsidy = line.total if line.name == '安全生产管理补贴':