Browse Source

remove account groups if hierarchy = 'none'

pull/559/head
Jordi Ballester Alomar 6 years ago
committed by Pedro M. Baeza
parent
commit
b6f5f0e367
  1. 2
      account_financial_report/report/trial_balance.py

2
account_financial_report/report/trial_balance.py

@ -229,8 +229,8 @@ class TrialBalanceReportCompute(models.TransientModel):
if self.show_partner_details: if self.show_partner_details:
self._inject_partner_values() self._inject_partner_values()
if not self.filter_account_ids: if not self.filter_account_ids:
self._inject_account_group_values()
if self.hierarchy_on != 'none': if self.hierarchy_on != 'none':
self._inject_account_group_values()
if self.hierarchy_on == 'computed': if self.hierarchy_on == 'computed':
self._update_account_group_computed_values() self._update_account_group_computed_values()
else: else:

Loading…
Cancel
Save