<?xml version="1.0"?>
<form string="Registration">
                    <sheet>
                        <p>Before updating the linked registrations of <field name="sale_order_id" readonly="1" class="oe_inline"/>
                        please provide attendee details.</p>
                        <field name="event_registration_ids">
                            <list string="Registration" editable="top" create="false" delete="false">
                                <field name="event_id" readonly="1" force_save="1"/>
                                <field name="registration_id" readonly="1" force_save="1"/>
                                <field name="event_slot_id" domain="[('event_id', '=', event_id)]" readonly="1" force_save="1"/>
                                <field name="event_ticket_id" domain="[('event_id', '=', event_id)]" readonly="1" force_save="1"/>
                                <field name="name"/>
                                <field name="email"/>
                                <field name="phone" class="o_force_ltr"/>
                                <field name="company_id" groups="base.group_multi_company" optional="hide"/>
                                <field name="sale_order_line_id" column_invisible="True"/>
                            </list>
                        </field>
                    </sheet>
                    <footer>
                        <button string="Create/Update registrations" name="action_make_registration" type="object" class="btn-primary" data-hotkey="q"/>
                    </footer>
                </form>
            