From bfd00a97d27bd9053a14695b90b0fcbd163f3da6 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Sun, 1 Jun 2025 15:54:13 +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 e4b0545e5..cd3d13cb7 100644 --- a/yuthon_salary/models/inherit_hr_payslip.py +++ b/yuthon_salary/models/inherit_hr_payslip.py @@ -286,7 +286,7 @@ class InheritHrPayslip(models.Model): @api.depends('total_before_tax', 'three_one', 'b_year', 'union_dues', 'tax_payable', 'individual_tax_refund') def _compute_actual_salary(self): for record in self: - record.actual_salary = (record.total_before_tax - record.three_one - record.b_year - record.union_dues - record.tax_payable - record.individual_tax_refund) + record.actual_salary = (record.total_before_tax - record.three_one - record.b_year - record.union_dues - record.tax_payable + record.individual_tax_refund) if record.employee_id.name == '罗梦烨': _logger.info("罗梦烨实发{} 本期应:{},31:{},年金:{}应补:{}工会{}个税{}".format(record.actual_salary, record.total_before_tax, record.three_one, record.b_year, record.union_dues,