From 55d7869760cbe4ceed4dcb1d4d1191fd407d4a66 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 dd93ca552d1a..446645d8ea4a 100644 --- a/account_financial_report/report/abstract_report_xlsx.py +++ b/account_financial_report/report/abstract_report_xlsx.py @@ -496,7 +496,7 @@ def write_ending_balance_from_dict(self, my_object, name, label, report_data): 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 )