From 52a3e93909394eadb427a21d880f81e0ac0aa23d Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Thu, 15 Nov 2018 13:36:11 +0100 Subject: [PATCH] remove account groups if hierarchy = 'none' --- account_financial_report/report/trial_balance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report/report/trial_balance.py b/account_financial_report/report/trial_balance.py index 24abbb1a..798e8178 100644 --- a/account_financial_report/report/trial_balance.py +++ b/account_financial_report/report/trial_balance.py @@ -229,8 +229,8 @@ class TrialBalanceReportCompute(models.TransientModel): if self.show_partner_details: self._inject_partner_values() if not self.filter_account_ids: - self._inject_account_group_values() if self.hierarchy_on != 'none': + self._inject_account_group_values() if self.hierarchy_on == 'computed': self._update_account_group_computed_values() else: