{'search_default_analytic_account_ids': [active_id], 'default_analytic_account_ids': active_id} Invoices account.invoice [('analytic_account_ids','=',active_id)] account.analytic.account.button.invoice account.analytic.account