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 -