From 559a26482d68bba7fb4a0454c1a47659aa840369 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Sat, 14 Jun 2025 14:53:44 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 == '安全生产管理补贴':