Browse Source
Merge pull request #481 from Eficent/11.0-afr-imp_1
[11][account_financial_report] trial balance: remove account groups if hierarchy = 'none'
pull/482/head
Pedro M. Baeza
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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: |
|
|