[IMP] account_financial_report: Completes the functionality of hide_parent_hierarchy_level field and fix the level of accounts for trial balance
This commit is contained in:
committed by
chaule97
parent
4af9e021a7
commit
8f6ee42a53
@@ -544,7 +544,9 @@ class TrialBalanceReport(models.AbstractModel):
|
||||
account_group_relation = {}
|
||||
for account in accounts:
|
||||
accounts_data[account.id]["complete_code"] = (
|
||||
account.group_id.complete_code if account.group_id.id else ""
|
||||
account.group_id.complete_code + " / " + account.code
|
||||
if account.group_id.id
|
||||
else ""
|
||||
)
|
||||
if account.group_id.id:
|
||||
if account.group_id.id not in account_group_relation.keys():
|
||||
|
||||
Reference in New Issue
Block a user