<?xml version="1.0"?>
<list editable="bottom" string="Timesheet Activities" sample="1" decoration-muted="readonly_timesheet == True">
                    <field name="readonly_timesheet" column_invisible="True"/>
                    <field name="date" readonly="readonly_timesheet"/>
                    <field name="employee_id" column_invisible="True" readonly="readonly_timesheet"/>
                    <field name="project_id" options="{'no_create_edit': True}" required="1" readonly="readonly_timesheet" context="{'search_default_my_projects': True}"/>
                    <field name="task_id" optional="show" options="{'no_create_edit': True, 'no_open': True}" widget="task_with_hours" context="{'default_project_id': project_id, 'search_default_my_tasks': True, 'search_default_open_tasks': True}" readonly="readonly_timesheet"/>
                    <field name="name" optional="show" required="0" readonly="readonly_timesheet"/>
                    <field name="unit_amount" string="Time Spent" optional="show" widget="timesheet_uom" sum="Total" readonly="readonly_timesheet" decoration-danger="unit_amount &gt; 24 or unit_amount &lt; 0" decoration-muted="unit_amount == 0"/>
                    <field name="company_id" column_invisible="True"/>
                    <field name="user_id" column_invisible="True"/>
                </list>
            