<?xml version="1.0"?>
<list string="Registration" multi_edit="1" sample="1" expand="1" default_order="create_date desc" class="o_event_registration_view_tree" js_class="registration_summary_dialog_list">
                <field name="barcode" column_invisible="True"/>
                <field name="active" column_invisible="True"/>
                <field name="create_date" optional="show" string="Registration Date"/>
                <field name="name"/>
                <field name="partner_id" optional="hide"/>
                <field name="email" optional="show"/>
                <field name="phone" optional="show"/>
                <field name="company_name" optional="hide"/>
                <field name="event_id" column_invisible="context.get('default_event_id')"/>
                <field name="event_slot_id" domain="[('event_id', '=', event_id)]"/>
                <field name="event_ticket_id" domain="[('event_id', '=', event_id)]"/>
                <field name="activity_ids" widget="list_activity"/>
                <field name="state" decoration-info="state in ('draft', 'open')" decoration-success="state == 'done'" decoration-muted="state == 'cancel'" widget="badge"/>
                <field name="company_id" groups="base.group_multi_company" optional="hide" readonly="state != 'draft'"/>
                <field name="message_needaction" column_invisible="True"/>
                <button name="action_confirm" string="Registered" type="object" icon="fa-check" invisible="not active or state != 'draft'"/>
                <button name="action_set_done" string="Mark as Attending" type="object" icon="fa-level-down" invisible="not active or state != 'open'"/>
                <button name="action_cancel" string="Cancel" type="object" class="o_btn_cancel_registration" icon="fa-times" invisible="not active or (state != 'open' and state != 'draft')"/>
                <field name="activity_exception_decoration" widget="activity_exception"/>
            </list>
        