<?xml version="1.0"?>
<kanban default_group_by="stage_id" class="oe_notes oe_kanban_quickcreate_textarea o_kanban_small_column">
          <field name="color"/>
          <field name="sequence"/>
          <field name="name"/>
          <field name="stage_id"/>
          <field name="open"/>
          <field name="memo"/>
          <field name="date_done"/>
          <field name="message_partner_ids"/>
          <field name="activity_ids"/>
          <field name="activity_state"/>
          <progressbar field="activity_state" colors="{&quot;planned&quot;: &quot;success&quot;, &quot;today&quot;: &quot;warning&quot;, &quot;overdue&quot;: &quot;danger&quot;}"/>
          <templates>
            <t t-name="kanban-box">
              <t t-set="noteHasFollowers" t-value="record.message_partner_ids.raw_value.length &gt; 1"/>

              <div t-attf-class="#{!selection_mode ? kanban_color(record.color.raw_value) : ''} oe_kanban_global_click_edit oe_semantic_html_override oe_kanban_card">

                <field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}"/>

                <div class="o_dropdown_kanban dropdown">
                    <a role="button" class="dropdown-toggle o-no-caret btn" data-bs-toggle="dropdown" data-bs-display="static" href="#" aria-label="Dropdown menu" title="Dropdown menu">
                        <span class="fa fa-ellipsis-v"/>
                    </a>
                    <div class="dropdown-menu" role="menu">
                        <a role="menuitem" type="delete" class="dropdown-item">Delete</a>
                        <ul class="oe_kanban_colorpicker" data-field="color"/>
                    </div>
                </div>
                <div t-attf-class="d-flex #{noteHasFollowers ? 'flex-wrap' : 'flex-nowrap'}">
                  <div class="d-flex flex-grow-1">
                    <span class="me-2">
                      <a name="action_close" type="object" t-if="record.open.raw_value">
                        <i class="fa fa-check" role="img" aria-label="Opened" title="Opened"/>
                      </a>
                      <a name="action_open" type="object" t-if="!record.open.raw_value">
                        <i class="fa fa-undo" role="img" aria-label="Closed" title="Closed"/>
                      </a>
                    </span>

                    <span t-attf-class="oe_kanban_content flex-grow-1 text-break #{record.open.raw_value ? '' : 'note_text_line_through'}">
                      <!-- title -->
                      <field name="name"/>
                    </span>
                  </div>
                  <div t-attf-class="d-flex #{noteHasFollowers ? 'w-100 align-items-center justify-content-end' : 'align-items-end'}">
                    <div t-if="noteHasFollowers" class="d-flex align-items-center me-2 mt-2">
                      <t t-foreach="record.message_partner_ids.raw_value" t-as="follower" t-key="follower">
                        <img t-if="follower_index &lt; 5" t-att-src="kanban_image('res.partner', 'avatar_128', follower)" class="oe_kanban_avatar o_image_24_cover rounded-circle border border-white bg-white ml-n2" t-att-data-member_id="follower" alt="Follower"/>
                        <small t-if="follower_index == 5" t-esc="'+' + (record.message_partner_ids.raw_value.length - 5)" class="text-info fw-bold ms-1"/>
                      </t>
                    </div>
                    <field name="activity_ids" widget="kanban_activity"/>
                  </div>
                </div>
              </div>
            </t>
          </templates>
        </kanban>
      