general report rounding

This commit is contained in:
Esraa-Exp 2025-02-26 20:21:25 +02:00
parent c36e0f09fd
commit 63c5f125b4
2 changed files with 2 additions and 2 deletions

View File

@ -92,6 +92,6 @@ class EmployeeGeneralReportXlsx(models.AbstractModel):
sheet.write(row, clm + 13, rec.contract_id.house_allowance_temp, format1)
sheet.write(row, clm + 14, round(other_value[1]), format1)
sheet.write(row, clm + 15, round(other_value[0]), format1)
sheet.write(row, clm + 16, round(other_value[2]), format1)
sheet.write(row, clm + 16, round(other_value[2],2), format1)
row += 1

View File

@ -96,7 +96,7 @@
<span t-esc="round(other_value[0])"/>
</td>
<td>
<span t-esc="round(other_value[2])"/>
<span t-esc="round(other_value[2],2)"/>
</td>
</tr>