From 8fe70a01986d75aed6ea79bb001e98bfd985991b Mon Sep 17 00:00:00 2001 From: LauraCForgeFlow Date: Fri, 19 Jul 2024 13:31:41 +0200 Subject: [PATCH] [FIX] account_financial_report: error when displaying foreign currencies for accounts with currency --- account_financial_report/report/abstract_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report/report/abstract_report.py b/account_financial_report/report/abstract_report.py index 1913c41b..c133ca86 100644 --- a/account_financial_report/report/abstract_report.py +++ b/account_financial_report/report/abstract_report.py @@ -134,7 +134,7 @@ class AgedPartnerBalanceReport(models.AbstractModel): "name": account.name, "hide_account": False, "group_id": account.group_id.id, - "currency_id": account.currency_id or False, + "currency_id": account.currency_id.id, "currency_name": account.currency_id.name, "centralized": account.centralized, }