diff --git a/account_financial_report/report/parser.py b/account_financial_report/report/parser.py index 6d82db72..7b2ff9fa 100644 --- a/account_financial_report/report/parser.py +++ b/account_financial_report/report/parser.py @@ -344,7 +344,7 @@ class account_balance(report_sxw.rml_parse): # # Check if we need to include this level # - if not form['display_account_level'] or account['level'] <= form['display_account_level']: + if not form['display_account_level'] or aa_id[3].level <= form['display_account_level']: res = { 'id' : id, 'type' : aa_id[3].type,