添加功能

This commit is contained in:
zhou
2025-03-26 20:49:22 +08:00
parent 1a1c27f766
commit 40b8ad7255
+1 -1
View File
@@ -174,7 +174,7 @@ class InheritHrPayslip(models.Model):
for line in record.line_ids:
if line.name in name_list:
total += line.total
record.total_before_tax = total + record.base_salary + record.performance_bonuses + record.rank_salary + self.year_compute + self.year_jie + self.year_gong
record.total_before_tax = total + record.base_salary + record.performance_bonuses + record.rank_salary + record.year_compute + record.year_jie + record.year_gong
def put_button(self):
for record in self: