From 38dab025b1f90d53fcf80e081bc11887a44408f3 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 24 Oct 2024 10:02:16 +0200 Subject: [PATCH] [FIX] account_financial_report: in XLSX report, display null ending balance (just like we display null initial balance) --- account_financial_report/report/abstract_report_xlsx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report/report/abstract_report_xlsx.py b/account_financial_report/report/abstract_report_xlsx.py index 192d7c07..5c8a332e 100644 --- a/account_financial_report/report/abstract_report_xlsx.py +++ b/account_financial_report/report/abstract_report_xlsx.py @@ -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 )