<?xml version="1.0"?>
<tree string="Tasks" multi_edit="1" sample="1" js_class="project_task_list">
                    <field name="message_needaction" invisible="1" readonly="1"/>
                    <field name="is_closed" invisible="1"/>
                    <field name="sequence" invisible="1" readonly="1"/>
                    <field name="allow_milestones" invisible="1"/>
                    <field name="priority" widget="priority" optional="show" nolabel="1"/>
                    <field name="id" optional="hide"/>
                    <field name="child_text" invisible="1"/>
                    <field name="allow_subtasks" invisible="1"/>
                    <field name="name" widget="name_with_subtask_count"/>
                    <field name="project_id" widget="project_private_task" optional="show" readonly="1" options="{'no_open': 1}"/>
                    <field name="milestone_id" attrs="{'invisible': [('allow_milestones', '=', False)]}" context="{'default_project_id': project_id}" groups="project.group_project_milestone"/>
                    <field name="partner_id" optional="hide"/>
                    <field name="parent_id" optional="hide" attrs="{'invisible': [('allow_subtasks', '=', False)]}" groups="base.group_no_one"/>
                    <field name="user_ids" optional="show" widget="many2many_avatar_user" domain="[('share', '=', False), ('active', '=', True)]" options="{&quot;no_quick_create&quot;: True}"/>
                    <field name="company_id" groups="base.group_multi_company" optional="show" readonly="True"/>
                    <field name="company_id" invisible="1"/>
                    <field name="activity_ids" string="Next Activity" widget="list_activity" optional="show"/>
                    <field name="date_deadline" optional="hide" widget="remaining_days" attrs="{'invisible': [('is_closed', '=', True)]}"/>
                    <field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}" optional="show" context="{'project_id': project_id}"/>
                    <field name="rating_active" invisible="1"/>
                    <field name="rating_last_text" string="Rating" decoration-danger="rating_last_text == 'ko'" decoration-warning="rating_last_text == 'ok'" decoration-success="rating_last_text == 'top'" attrs="{'invisible': ['|', ('rating_active', '=', False), ('rating_last_text', '=', 'none')]}" class="fw-bold" widget="badge" optional="hide" groups="project.group_project_rating"/>
                    <field name="legend_normal" invisible="1"/>
                    <field name="legend_done" invisible="1"/>
                    <field name="legend_blocked" invisible="1"/>
                    <field name="kanban_state" widget="state_selection" optional="show" options="{'hide_label': True}" nolabel="1" required="0"/>
                    <field name="stage_id" invisible="context.get('set_visible',False)" optional="show" readonly="not context.get('default_project_id')"/>
                    <field name="recurrence_id" invisible="1"/>
                </tree>
            