From 291df813482c7dcfa3bce4b56e8306c57d1c2e2e Mon Sep 17 00:00:00 2001 From: Saran440 Date: Wed, 7 Feb 2024 16:13:50 +0700 Subject: [PATCH 1/3] [FIX] account_financial_report: error currency object --- .../report/templates/general_ledger.xml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/account_financial_report/report/templates/general_ledger.xml b/account_financial_report/report/templates/general_ledger.xml index 08d0190c9dd..6bbfb87e812 100644 --- a/account_financial_report/report/templates/general_ledger.xml +++ b/account_financial_report/report/templates/general_ledger.xml @@ -313,10 +313,7 @@ - +
- +
From 7e839ccea9d282fc62ce86bb286bd27ef91dc4f0 Mon Sep 17 00:00:00 2001 From: theerayut Date: Thu, 28 Nov 2024 13:48:01 +0700 Subject: [PATCH 2/3] [FIX] account_financial_report: error currency object --- .../report/templates/general_ledger.xml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/account_financial_report/report/templates/general_ledger.xml b/account_financial_report/report/templates/general_ledger.xml index e2f110a218f..95a7020a167 100644 --- a/account_financial_report/report/templates/general_ledger.xml +++ b/account_financial_report/report/templates/general_ledger.xml @@ -313,10 +313,7 @@
- +
- - + +
From 4a54da18ebc5a83299a70eaa1e787a7c3583fbfc Mon Sep 17 00:00:00 2001 From: theerayut Date: Tue, 3 Dec 2024 12:37:51 +0700 Subject: [PATCH 3/3] [15.0][FIX] account_financial_report: keyError on fin_bal_currency_id --- account_financial_report/report/general_ledger_xlsx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report/report/general_ledger_xlsx.py b/account_financial_report/report/general_ledger_xlsx.py index c954071b332..066eb690ebf 100644 --- a/account_financial_report/report/general_ledger_xlsx.py +++ b/account_financial_report/report/general_ledger_xlsx.py @@ -347,7 +347,7 @@ def _generate_report_content(self, workbook, report, data, report_data): "final_balance": account["fin_bal"]["balance"], } ) - if foreign_currency and account["fin_bal_currency_id"]: + if foreign_currency and account.get("fin_bal_currency_id", False): account.update( { "final_bal_curr": total_bal_curr,