From d01c1c12918d0c802412cf887bf3372d83e2f628 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Tue, 1 Apr 2025 15:39:02 +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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yuthon_salary/models/inherit_hr_payslip.py b/yuthon_salary/models/inherit_hr_payslip.py index f26e33010..2f7298df6 100644 --- a/yuthon_salary/models/inherit_hr_payslip.py +++ b/yuthon_salary/models/inherit_hr_payslip.py @@ -194,7 +194,7 @@ class InheritHrPayslip(models.Model): "target": "new", } - @api.depends('year_compute', 'year_jie', 'year_gong', 'jing_te', 'based_pay', 'study_on', 'post_salary', + @api.depends('year_compute', 'year_jie', 'year_gong', 'jing_te', 'study_on', 'post_salary', 'seniority_salary','commuting_allowance', 'full_attendance_award', 'overtime_pay', 'high_temperature_allowance', 'performance_deduction', 'commuting_deduction', 'base_salary_deduction') @@ -211,7 +211,6 @@ class InheritHrPayslip(models.Model): record.year_gong + record.jing_te + record.high_temperature_allowance + - record.based_pay + record.study_on + record.full_attendance_award + record.overtime_pay -