<?xml version="1.0"?>
<kanban class="o_event_kanban_view" default_group_by="stage_id" quick_create_view="event.event_event_view_form_quick_create" sample="1">
                <field name="stage_id" options="{&quot;group_by_tooltip&quot;: {&quot;description&quot;: &quot;Description&quot;}}"/>
                <field name="date_begin"/>
                <field name="date_end"/>
                <field name="legend_done"/>
                <templates>
                    <t t-name="card" class="p-0 row">
                        <aside class="col-4 text-bg-primary p-2 text-center d-flex flex-column justify-content-center">
                            <div t-esc="luxon.DateTime.fromISO(record.date_begin.raw_value).toFormat('d')" class="fs-1"/>
                            <div>
                                <t t-esc="luxon.DateTime.fromISO(record.date_begin.raw_value).toFormat('MMM yyyy')"/>
                            </div>
                            <div><t t-esc="luxon.DateTime.fromISO(record.date_begin.raw_value).toFormat('t')"/></div>
                                <div t-if="record.date_begin.raw_value !== record.date_end.raw_value">
                                    <i class="oi oi-arrow-right me-2" title="End date"/>
                                    <t t-esc="luxon.DateTime.fromISO(record.date_end.raw_value).toFormat('d MMM')"/>
                                </div>
                        </aside>
                        <main class="col pt-3 pb-2 px-3 justify-content-between">
                            <div>
                                <div class="fw-bold fs-5 text-truncate" t-att-title="record.name.value">
                                    <field name="name"/>
                                </div>
                                <div class="d-flex ps-1">
                                    <i class="fa fa-map-marker mt-1 me-2 text-center ps-1" title="Location"/>
                                    <field t-if="record.address_id.value" name="address_id" class="ms-1"/>
                                    <span t-else="" class="ms-1">Online Event</span>
                                </div>
                                <div t-if="record.seats_taken.raw_value" class="d-flex ps-1">
                                    <i class="fa fa-group mt-1 me-2 text-center" title="Attendees"/>
                                    <field name="seats_taken" class="me-1"/> Attendees
                                </div>
                            </div>
                            <footer class="pt-1 p-0 m-0">
                                <field name="activity_ids" widget="kanban_activity"/>
                                <div class="d-flex ms-auto">
                                    <field class="mt-1 mr4" name="kanban_state" widget="state_selection"/>
                                    <field name="user_id" widget="many2one_avatar_user"/>
                                </div>
                            </footer>
                        </main>
                    </t>
                </templates>
            </kanban>
        