<?xml version="1.0"?>
<kanban create="false" class="o_rating_rating_kanban">
                    <field name="rating"/>
                    <templates>
                        <t t-name="card" class="row g-0">
                            <t t-set="val_stars" t-value="Math.round(record.rating.raw_value * 10) / 10"/>
                            <t t-set="val_integer" t-value="Math.floor(val_stars)"/>
                            <t t-set="val_decimal" t-value="val_stars - val_integer"/>
                            <t t-set="empty_star" t-value="5 - (val_integer + Math.ceil(val_decimal))"/>
                            <aside class="col-3 me-2">
                                <div class="display-3 fw-bold text-center text-primary mb-2" t-esc="val_stars"/>
                                <i t-foreach="[...Array(val_integer).keys()]" t-as="num" t-key="num" class="fa fa-star" aria-label="A star" role="img"/>
                                <i t-if="val_decimal" class="fa fa-star-half-o" aria-label="Half a star" role="img"/>
                                <i t-foreach="[...Array(empty_star).keys()]" t-as="num" t-key="num" class="fa fa-star text-black-25" aria-label="A star" role="img"/>
                            </aside>
                            <main class="col">
                                <field name="partner_id" class="fw-bold fs-5"/>
                                <div class="mt0">
                                    <i class="fa fa-folder me-2" aria-label="Open folder"/>
                                    <a type="object" name="action_open_rated_object" t-att-title="record.res_name.raw_value">
                                        <field name="res_name"/>
                                    </a>
                                    <div><i class="fa fa-clock-o me-2" aria-label="Create date"/> <field name="rated_on"/></div>
                                    <field name="feedback" class="mt-2"/>
                                </div>
                            </main>
                        </t>
                    </templates>
                </kanban>
            