<?xml version="1.0"?>
<kanban string="Activity" action="action_open_document" type="object" create="false">
                <templates>
                    <field name="active" invisible="1"/>
                    <t t-name="card">
                        <div class="d-flex justify-content-between">
                            <span>
                                <field name="res_name" class="fw-bold"/>
                                (<field class="text-muted" name="res_model_id"/>)
                            </span>
                            <field name="activity_type_id" widget="badge"/>
                        </div>
                        <field class="text-truncate" name="summary"/>
                        <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>
        