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,