diff --git a/account.py b/account.py index ae900b708f..9715b6e30b 100644 --- a/account.py +++ b/account.py @@ -1230,6 +1230,7 @@ class TrialBalance(Report): datas['form']['company'], context=context) account_ids = account_obj.search(cursor, user, [ + ('company', '=', datas['form']['company']), ('kind', '!=', 'view'), ], context=context)