From f43b481a074725543eb7b0805fe3eff229cfd8cc Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 23 Oct 2024 16:58:03 +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 66a41701..cbd917db 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 )