<odoo>

    <record id="view_crm_case_opportunities_filter" model="ir.ui.view">
        <field name="model">crm.lead</field>
        <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter" />
        <field name="arch" type="xml">
            <filter name="inactive" position="before">
                <filter
                    string="Archived or Not"
                    name="any_active_flag"
                    domain="[('active', 'in', (False, True))]"
                />
            </filter>
        </field>
    </record>

</odoo>
