<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2020 Tecnativa - Pedro M. Baeza
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="view_ir_ui_custom_field_filter_form" model="ir.ui.view">
        <field name="model">ir.ui.custom.field.filter</field>
        <field name="arch" type="xml">
            <tree editable="bottom">
                <field name="sequence" widget="handle" />
                <field name="model_id" options="{'no_create': True}" />
                <field name="name" />
                <field name="expression" />
                <field name="position_after" />
            </tree>
        </field>
    </record>

    <record id="action_ir_ui_custom_field_filter" model="ir.actions.act_window">
        <field name="name">Custom Field Filters</field>
        <field name="res_model">ir.ui.custom.field.filter</field>
    </record>

    <menuitem
        id="menu_ir_ui_custom_field_filter"
        action="action_ir_ui_custom_field_filter"
        parent="base.next_id_2"
        sequence="6"
    />
</odoo>
