<?xml version="1.0"?>
<kanban string="Activity" action="action_open_document" type="object" js_class="mail_activity_my_kanban">
                <templates>
                    <field name="active" invisible="1"/>
                    <field name="icon" invisible="1"/>
                    <t t-name="card">
                        <div class="d-flex justify-content-between">
                            <span class="text-truncate" invisible="not res_name">
                                <field name="res_name" class="fw-bold"/>
                                (<field class="text-muted" name="res_model_id"/>)
                            </span>
                            <field name="summary" class="text-truncate" invisible="res_name"/>
                            <span class="badge rounded-pill text-bg-300">
                                <i t-if="record.icon" t-attf-class="fa {{record.icon.raw_value}} me-1"/>
                                <field name="activity_type_id"/>
                            </span>
                        </div>
                        <field class="text-truncate" name="summary" invisible="not res_name"/>
                        <footer class="align-items-center">
                            <field name="user_id" widget="many2one_avatar_user"/>
                            <field name="date_deadline" widget="remaining_days" class="ms-2"/>
                            <button type="object" name="action_done" class="btn btn-link btn-sm ms-auto me-1" invisible="active == False">
                                <i class="fa fa-check"/> Done
                            </button>
                            <button type="object" name="unlink" class="btn btn-link text-danger btn-sm">
                                <i class="fa fa-times"/> Cancel
                            </button>
                        </footer>
                    </t>
                </templates>
            </kanban>
        