[FIX] account_financial_report: in XLSX report, display null ending balance (just like we display null initial balance)

This commit is contained in:
Alexis de Lattre
2024-10-24 10:02:16 +02:00
committed by chaule97
parent 2ff06610f6
commit 38dab025b1

View File

@@ -496,7 +496,7 @@ class AbstractReportXslx(models.AbstractModel):
report_data["formats"]["format_header_amount"],
)
elif cell_type == "amount_currency":
if my_object["currency_id"] and value:
if my_object["currency_id"]:
format_amt = self._get_currency_amt_format_dict(
my_object, report_data
)