<?xml version="1.0"?>
<kanban records_draggable="0" js_class="product_kanban_catalog">
                <field name="id"/>
                <templates>
                    <t t-name="menu">
                        <div class="o_product_catalog_cancel_global_click">
                            <a role="menuitem" type="open" class="dropdown-item border-top-0">Edit</a>
                        </div>
                    </t>
                    <t t-name="card" class="p-0">
                    <!-- TODO : not getting border when select record -->
                        <div class="d-flex flex-grow-1 m-2">
                            <div class="p-2 pt-1 d-flex flex-column m-0 overflow-hidden" t-attf-id="product-{{record.id.raw_value}}">
                                <div class="d-flex">
                                    <field class="mt-1 me-1" name="is_favorite" widget="boolean_favorite" nolabel="1" readonly="1"/>
                                    <field name="name" class="fw-bolder fs-4 text-reset mb-1"/>
                                </div>
                                <div t-if="record.default_code.value">
                                    [<field name="default_code"/>]
                                </div>
                                <!-- Used by @web/product/js/product_catalog/order_line to
                                        show the price using a t-portal. -->
                                <div name="o_kanban_price" t-attf-id="product-{{record.id.raw_value}}-price"/>
                                <field name="product_template_attribute_value_ids" widget="many2many_tags" domain="[('id', 'in', parent.ids)]" groups="product.group_product_variant" options="{'color_field': 'color'}"/>
                            </div>
                            <field name="image_128" class="ms-auto" invisible="not image_128" widget="image" options="{'size': [55, 55], 'img_class': 'object-fit-contain'}" alt="Product"/>
                        </div>
                    </t>
                </templates>
            </kanban>
        