{'search_default_analytic_account_ids': [active_id], 'default_analytic_account_ids': [active_id]} Invoices account.invoice [('analytic_account_ids','=',active_id), ('type','in', ['out_invoice', 'out_refund']), ('state', 'not in', ['draft', 'cancel'])] tree form account.invoice.tree.show.total.untaxed account.invoice account.analytic.account.button.invoice account.analytic.account