I created a custom crm.lead report, and I am able to add it to the action menu like this:
Generate Custom CRM Lead Report
code
action = {
'type': 'ir.actions.report',
'report_name': 'odoo_crm_gis.crm_lead_coe_report',
'model': 'crm.lead',
'report_type': 'qweb-html',
}
but to use that, the user has to first go to list view then select all records. That is not very convenient. What I would like to do is to add myself to the action menu before any records are selected, where it now says "Import records" and "Export all." That way, the user can just select the correct filters, see a whole list of records (even in kanban view), and go "action gear" "export custom" and export them all using my custom report.
Is it possible to add to this menu, so that you can invoke the report before selecting any records?