Merge pull request #4503 from expsa/dev_odex25_hr

Dev odex25 hr
This commit is contained in:
SamirLADOUI-sa 2025-09-01 16:19:29 +01:00 committed by GitHub
commit 5ecd7318ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ class SalaryRuleInput(models.Model):
def compute_totals(self):
for item in self:
item.total_allowances, item.total_deductions = 0.0, 0.0
item.total_allowances = item.total_deductions = item.total_loans = 0.0
for line in item.allowance_ids:
allow_tot = line.total
item.total_allowances += allow_tot