From b40229fc636bd4d057306ee83c83f361c04fb539 Mon Sep 17 00:00:00 2001 From: sergiocorato Date: Mon, 18 Nov 2024 15:30:11 +0100 Subject: [PATCH] [14.0][IMP] add field account_internal_group to account_financial_report for l10n-italy report --- account_financial_report/report/trial_balance.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/account_financial_report/report/trial_balance.py b/account_financial_report/report/trial_balance.py index 8315fc13f666..3600b615f181 100644 --- a/account_financial_report/report/trial_balance.py +++ b/account_financial_report/report/trial_balance.py @@ -347,7 +347,12 @@ def _get_data( tb_initial_acc = [] for account in accounts: tb_initial_acc.append( - {"account_id": account.id, "balance": 0.0, "amount_currency": 0.0} + { + "account_id": account.id, + "balance": 0.0, + "amount_currency": 0.0, + "account_internal_group": account.internal_group, + } ) initial_domain_bs = self._get_initial_balances_bs_ml_domain( account_ids,