<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <data>
        <record id="view_hms_payments_list" model="ir.ui.view">
            <field name="name">Payments</field>
            <field name="model">hms.payments</field>
            <field name="arch" type="xml">
                <list>
                    <field name="hms_payment_type_id"/>
                    <field name="currency_id" invisible="1"/>
                    <field name="amount"/>
                    <field name="exchange_rate"/>
                    <field name="notes"/>
                </list>
            </field>
        </record>

        <record id="view_hms_payments_form" model="ir.ui.view">
            <field name="name">Payments</field>
            <field name="model">hms.payments</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <field name="hms_payment_type_id"/>
                            <field name="currency_id" invisible="1"/>
                            <field name="amount"/>
                            <field name="exchange_rate"/>
                            <field name="notes"/>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
    </data>
</odoo>
