<?xml version="1.0"?>
<kanban highlight_color="color" class="o_project_kanban" js_class="project_project_kanban" on_create="project.open_create_project" action="action_view_tasks" type="object" quick_create_view="project.quick_create_project_form" sample="1" default_order="is_favorite desc, sequence, name, id">
                    <field name="allow_milestones"/>
                    <field name="rating_count"/>
                    <field name="rating_active"/>
                    <field name="privacy_visibility"/>
                    <field name="last_update_color"/>
                    <progressbar field="last_update_status" colors="{&quot;on_track&quot;: &quot;success&quot;, &quot;at_risk&quot;: &quot;warning&quot;, &quot;off_track&quot;: &quot;danger&quot;, &quot;on_hold&quot;: &quot;info&quot;, &quot;done&quot;: &quot;purple&quot;}"/>
                    <field name="sequence" widget="handle"/>
                    <templates>
                        <t t-name="menu" groups="base.group_user">
                            <div class="container">
                                <div class="row">
                                    <div name="card_menu_view" class="col-6">
                                        <h5 role="menuitem" class="o_kanban_card_manage_title">
                                            <span>View</span>
                                        </h5>
                                        <div role="menuitem">
                                            <a name="action_view_tasks" type="object">Tasks</a>
                                        </div>
                                        <div role="menuitem" groups="project.group_project_milestone" t-if="record.allow_milestones.raw_value">
                                            <a name="action_get_list_view" type="object">Milestones</a>
                                        </div>
                                    </div>
                                    <div class="col-6 o_kanban_manage_reporting">
                                        <h5 role="menuitem" class="o_kanban_card_manage_title" groups="project.group_project_user">
                                            <span>Reporting</span>
                                        </h5>
                                        <div role="menuitem" groups="project.group_project_user" name="task_analysis">
                                            <a name="action_view_tasks_analysis" type="object">Tasks Analysis</a>
                                        </div>
                                        <div role="menuitem" name="project_burndown_menu" groups="project.group_project_user">
                                            <a name="action_project_task_burndown_chart_report" type="object">Burndown Chart</a>
                                        </div>
                                    </div>
                                </div>
                                <div class="o_kanban_card_manage_settings row">
                                    <div role="menuitem" aria-haspopup="true" class="col-6" groups="project.group_project_manager">
                                        <field name="color" widget="kanban_color_picker"/>
                                    </div>
                                    <div role="menuitem" class="col-6" groups="project.group_project_manager">

                                        <a t-if="record.privacy_visibility.raw_value == 'portal'" class="dropdown-item" role="menuitem" name="action_open_share_project_wizard" type="object">Share Project</a>

                                        <a class="dropdown-item" role="menuitem" name="copy" type="object">Duplicate</a>
                                        <a class="dropdown-item" role="menuitem" type="open">Settings</a>
                                    </div>
                                    <div class="col-12 ps-0" groups="!project.group_project_manager">
                                        <div role="menuitem" class="w-100">
                                            <a class="dropdown-item mx-0" role="menuitem" type="open">View</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </t>
                        <t t-name="card">
                            <div class="o_project_kanban_main d-flex align-items-baseline gap-1 ms-1">
                                <field name="is_favorite" widget="project_is_favorite" nolabel="1"/>
                                <div class="min-w-0 pb-4 me-2">
                                    <span class="text-truncate d-block fs-4 fw-bold" t-att-title="record.display_name.value"><field name="display_name"/></span>
                                    <span name="partner_name" class="text-muted d-flex align-items-baseline" t-if="record.partner_id.value">
                                        <span class="fa fa-user me-2" aria-label="Partner" title="Partner"/><field class="text-truncate" name="partner_id"/>
                                    </span>
                                    <div t-if="record.date.raw_value or record.date_start.raw_value" class="text-muted">
                                        <span class="fa fa-clock-o me-2" title="Dates"/><field name="date_start"/>
                                        <i t-if="record.date.raw_value and record.date_start.raw_value" class="fa fa-long-arrow-right mx-2 oe_read_only" aria-label="Arrow icon" title="Arrow"/>
                                        <field name="date"/>
                                    </div>
                                    <div t-if="record.alias_email.value" class="text-muted text-truncate" t-att-title="record.alias_email.value">
                                        <span class="fa fa-envelope-o me-2" aria-label="Domain Alias" title="Domain Alias"/><field name="alias_email"/>
                                    </div>
                                    <div t-if="record.rating_active.raw_value and record.rating_count.raw_value &gt; 0" class="d-flex text-muted" groups="project.group_project_rating">
                                        <b class="me-1">
                                            <span class="fa mt4 fa-smile-o fw-bolder text-success" t-if="record.rating_avg.raw_value &gt;= 3.66" title="Average Rating: Satisfied" role="img" aria-label="Happy face"/>
                                            <span class="fa mt4 fa-meh-o fw-bolder text-warning" t-elif="record.rating_avg.raw_value &gt;= 2.33" title="Average Rating: Okay" role="img" aria-label="Neutral face"/>
                                            <span class="fa mt4 fa-frown-o fw-bolder text-danger" t-else="" title="Average Rating: Dissatisfied" role="img" aria-label="Sad face"/>
                                        </b>
                                        <t t-if="record.rating_avg.raw_value % 1 == 0">
                                            <field name="rating_avg" nolabel="1" widget="float" digits="[1, 0]"/>
                                        </t>
                                        <t t-else="">
                                            <field name="rating_avg" nolabel="1" widget="float" digits="[1, 1]"/>
                                        </t> / 5
                                    </div>
                                    <field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}"/>
                                </div>
                            </div>
                            <footer class="mt-auto pt-0 ms-1">
                                <div class="d-flex align-items-center">
                                    <div class="o_project_kanban_boxes d-flex align-items-baseline">
                                        <a class="o_project_kanban_box me-1" name="action_view_tasks" type="object">
                                            <div>
                                                <field name="open_task_count" class="o_value"/>
                                                <field name="label_tasks" class="ms-1"/>
                                            </div>
                                        </a>
                                        <a groups="project.group_project_milestone" t-if="record.allow_milestones and record.allow_milestones.raw_value and record.milestone_count.raw_value &gt; 0" class="d-inline-block btn-link text-dark small me-1" role="button" name="action_get_list_view" type="object" t-attf-title="#{record.milestone_count_reached.value} Milestones reached out of #{record.milestone_count.value}">
                                            <span class="fa fa-flag me-1"/>
                                            <field name="milestone_count_reached"/>/<field name="milestone_count"/>
                                        </a>
                                    </div>
                                    <field name="activity_ids" widget="kanban_activity" class="ms-2"/>
                                </div>
                                <div class="d-flex ms-auto align-items-center">
                                    <field name="user_id" widget="many2one_avatar_user" domain="[('share', '=', False)]" class="me-1"/>
                                    <field t-if="record.last_update_status.value &amp;&amp; widget.editable" name="last_update_status" widget="project_state_selection"/>
                                    <span t-if="record.last_update_status.value &amp;&amp; !widget.editable" t-att-class="'o_status_bubble mx-0 o_color_bubble_' + record.last_update_color.value" t-att-title="record.last_update_status.value"/>
                                </div>
                            </footer>
                        </t>
                    </templates>
                </kanban>
            