<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <data>
        <record id="view_hms_payment_categories_regex_tree" model="ir.ui.view">
            <field name="name">Payment Categories Regex</field>
            <field name="model">hms.payment.categories.regex</field>
            <field name="arch" type="xml">
                <list editable="bottom">
                    <field name="name"/>
                    <field name="regex"/>
                    <field name="category_id"/>
                </list>
            </field>
        </record>

        <record id="action_hms_payment_categories_regex_action" model="ir.actions.act_window">
            <field name="name">Payment Categories Regex</field>
            <field name="res_model">hms.payment.categories.regex</field>
            <field name="view_mode">list</field>
            <field name="help" type="html">
                <p class="o_view_nocontent_smiling_face">
                    Create your first payment category regex record.
                </p>
            </field>
        </record>

        <menuitem name="Payment Categories Regex" parent="bross_hms.finance_root_menu" id="finance_payment_categories_regex" sequence="40" action="action_hms_payment_categories_regex_action"/>
    </data>
</odoo>
