{"en_US": "<data><xpath expr=\"//field[@name='child_ids']/list/field[@name='company_id']\" position=\"after\">\n                    <field name=\"allocated_hours\" widget=\"timesheet_uom_no_toggle\" sum=\"Total Allocated Time\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"effective_hours\" widget=\"timesheet_uom\" sum=\"Time Spent\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"subtask_effective_hours\" widget=\"timesheet_uom\" sum=\"Sub-tasks Time Spent\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"total_hours_spent\" widget=\"timesheet_uom\" sum=\"Total Time Spent\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"remaining_hours\" widget=\"timesheet_uom\" sum=\"Time Remaining\" optional=\"hide\" decoration-danger=\"progress &gt;= 1\" decoration-warning=\"progress &gt;= 0.8 and progress &lt; 1\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"progress\" widget=\"project_task_progressbar\" optional=\"hide\" options=\"{'overflow_class': 'bg-danger'}\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                </xpath>\n                <xpath expr=\"//group/field[@name='allocated_hours']\" position=\"replace\">\n                    <field name=\"encode_uom_in_days\" invisible=\"1\"/>\n                    <field name=\"subtask_count\" invisible=\"1\"/>\n                    <label for=\"allocated_hours\" invisible=\"not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <div class=\"text-nowrap\" invisible=\"not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        <field name=\"allocated_hours\" class=\"oe_inline o_field_float_time o_task_planned_hours\" widget=\"timesheet_uom_no_toggle\"/>\n                        <span invisible=\"subtask_count == 0\">\n                            (incl. <field name=\"subtask_allocated_hours\" nolabel=\"1\" widget=\"timesheet_uom_no_toggle\" class=\"oe_inline\"/> on\n                            <span class=\"fw-bold text-dark\"> Sub-tasks</span>)\n                        </span>\n                        (<field name=\"progress\" invisible=\"not project_id\" class=\"oe_inline\" nolabel=\"1\" decoration-danger=\"progress &gt; 1.005\" digits=\"[1, 0]\" widget=\"percentage\"/>)\n                    </div>\n                </xpath>\n                <xpath expr=\"//t[@name='warning_section']\" position=\"inside\">\n                    <div class=\"alert alert-warning text-center mb-2\" role=\"alert\" invisible=\"analytic_account_active or not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        You cannot log timesheets on this project since it is linked to an inactive analytic account.<br/> Please change this account, or reactivate the current one to timesheet on the project.\n                    </div>\n                </xpath>\n                <xpath expr=\"//notebook/page[@name='description_page']\" position=\"after\">\n                    <field name=\"allow_timesheets\" invisible=\"1\"/>\n                    <t groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        <field name=\"analytic_account_active\" invisible=\"1\"/>\n                    </t>\n                    <page string=\"Timesheets\" name=\"page_timesheets\" id=\"timesheets_tab\" invisible=\"not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                    <field name=\"timesheet_ids\" mode=\"list,kanban\" readonly=\"not analytic_account_active\" context=\"{'default_project_id': project_id, 'default_name': '', 'form_view_ref': 'hr_timesheet.timesheet_view_form_user'}\">\n                        <list editable=\"bottom\" string=\"Timesheet Activities\" default_order=\"date\" decoration-muted=\"readonly_timesheet == True\">\n                            <field name=\"readonly_timesheet\" column_invisible=\"True\"/>\n                            <field name=\"date\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"user_id\" column_invisible=\"True\"/>\n                            <field name=\"employee_id\" widget=\"many2one_avatar_employee\" context=\"{'active_test': True}\" required=\"1\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"name\" required=\"0\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"unit_amount\" string=\"Time Spent\" widget=\"timesheet_uom\" decoration-danger=\"unit_amount &gt; 24 or unit_amount &lt; 0\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"project_id\" column_invisible=\"True\"/>\n                            <field name=\"task_id\" column_invisible=\"True\"/>\n                            <field name=\"company_id\" column_invisible=\"True\"/>\n                        </list>\n                        <kanban class=\"o_kanban_mobile\">\n                            <templates>\n                                <t t-name=\"card\">\n                                    <div class=\"row\">\n                                        <div class=\"col-6 d-flex\">\n                                            <field name=\"employee_id\" class=\"me-1\" widget=\"many2one_avatar_employee\" context=\"{'active_test': True}\" readonly=\"readonly_timesheet\"/>\n                                            <field name=\"employee_id\" class=\"ps-1 fw-bold\"/>\n                                        </div>\n                                        <field name=\"date\" class=\"col-6 text-end fw-bold\"/>\n                                    </div>\n                                    <div class=\"row\">\n                                        <field name=\"name\" class=\"col-6 text-muted\" required=\"0\" readonly=\"readonly_timesheet\"/>\n                                        <field name=\"unit_amount\" widget=\"float_time\" class=\"col-6 text-end\"/>\n                                    </div>\n                                </t>\n                            </templates>\n                        </kanban>\n                        <form string=\"Timesheet Activities\">\n                            <sheet>\n                                 <group>\n                                    <field name=\"readonly_timesheet\" invisible=\"1\"/>\n                                    <field name=\"date\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"user_id\" invisible=\"1\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"employee_id\" widget=\"many2one_avatar_employee\" context=\"{'active_test': True}\" required=\"1\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"name\" required=\"0\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"unit_amount\" string=\"Time Spent\" widget=\"float_time\" decoration-danger=\"unit_amount &gt; 24\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"project_id\" invisible=\"1\"/>\n                                    <field name=\"task_id\" invisible=\"1\"/>\n                                    <field name=\"company_id\" invisible=\"1\"/>\n                                </group>\n                            </sheet>\n                        </form>\n                    </field>\n                    <group invisible=\"not analytic_account_active\">\n                        <group class=\"oe_subtotal_footer\" name=\"project_hours\">\n                            <span class=\"o_td_label float-start\">\n                                <label class=\"fw-bold\" for=\"effective_hours\" string=\"Time Spent\"/>\n                            </span>\n                            <field name=\"effective_hours\" widget=\"timesheet_uom\" nolabel=\"1\"/>\n                            <button name=\"action_view_subtask_timesheet\" type=\"object\" class=\"ps-0 border-0 oe_inline oe_link mb-2 o_td_label float-start\" invisible=\"subtask_effective_hours == 0.0\">\n                                <span class=\"text-nowrap\">Time Spent on Sub-tasks:</span>\n                            </button>\n                            <field name=\"subtask_effective_hours\" class=\"mt-2\" widget=\"timesheet_uom\" invisible=\"subtask_effective_hours == 0.0\" nolabel=\"1\"/>\n                            <span invisible=\"subtask_effective_hours == 0.0\" class=\"o_td_label float-start my-1\">\n                                <label class=\"fw-bold\" for=\"total_hours_spent\" invisible=\"subtask_effective_hours == 0.0 or encode_uom_in_days\"/>\n                                <label class=\"fw-bold\" for=\"total_hours_spent\" invisible=\"subtask_effective_hours == 0.0 or not encode_uom_in_days\"/>\n                            </span>\n                            <field name=\"total_hours_spent\" widget=\"timesheet_uom\" class=\"oe_subtotal_footer_separator\" nolabel=\"1\" invisible=\"subtask_effective_hours == 0.0\"/>\n                            <span class=\"o_td_label float-start my-1\" invisible=\"allocated_hours == 0.0\">\n                                <label class=\"fw-bold\" for=\"remaining_hours\" invisible=\"remaining_hours &lt; 0\"/>\n                                <label class=\"fw-bold text-danger\" for=\"remaining_hours\" invisible=\"remaining_hours &gt;= 0\"/>\n                            </span>\n                            <field name=\"remaining_hours\" widget=\"timesheet_uom\" class=\"oe_subtotal_footer_separator\" invisible=\"allocated_hours == 0.0\" nolabel=\"1\" decoration-danger=\"remaining_hours &lt; 0\"/>\n                        </group>\n                    </group>\n                </page>\n                </xpath>\n                <xpath expr=\"//field[@name='depend_on_ids']/list//field[@name='company_id']\" position=\"after\">\n                    <field name=\"progress\" column_invisible=\"True\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"allocated_hours\" widget=\"timesheet_uom_no_toggle\" sum=\"Total Allocated Time\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"effective_hours\" widget=\"timesheet_uom\" sum=\"Effective Hours\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"subtask_effective_hours\" widget=\"timesheet_uom\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"total_hours_spent\" widget=\"timesheet_uom\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"remaining_hours\" widget=\"timesheet_uom\" sum=\"Time Remaining\" optional=\"hide\" decoration-danger=\"progress &gt;= 1\" decoration-warning=\"progress &gt;= 0.8 and progress &lt; 1\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"progress\" widget=\"project_task_progressbar\" optional=\"hide\" options=\"{'overflow_class': 'bg-danger'}\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                </xpath>\n            </data>", "es_ES": "<data><xpath expr=\"//field[@name='child_ids']/list/field[@name='company_id']\" position=\"after\">\n                    <field name=\"allocated_hours\" widget=\"timesheet_uom_no_toggle\" sum=\"Tiempo asignado total\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"effective_hours\" widget=\"timesheet_uom\" sum=\"Tiempo dedicado\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"subtask_effective_hours\" widget=\"timesheet_uom\" sum=\"Tiempo dedicado a las subtareas\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"total_hours_spent\" widget=\"timesheet_uom\" sum=\"Tiempo total dedicado\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"remaining_hours\" widget=\"timesheet_uom\" sum=\"Tiempo restante\" optional=\"hide\" decoration-danger=\"progress &gt;= 1\" decoration-warning=\"progress &gt;= 0.8 and progress &lt; 1\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"progress\" widget=\"project_task_progressbar\" optional=\"hide\" options=\"{'overflow_class': 'bg-danger'}\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                </xpath>\n                <xpath expr=\"//group/field[@name='allocated_hours']\" position=\"replace\">\n                    <field name=\"encode_uom_in_days\" invisible=\"1\"/>\n                    <field name=\"subtask_count\" invisible=\"1\"/>\n                    <label for=\"allocated_hours\" invisible=\"not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <div class=\"text-nowrap\" invisible=\"not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        <field name=\"allocated_hours\" class=\"oe_inline o_field_float_time o_task_planned_hours\" widget=\"timesheet_uom_no_toggle\"/>\n                        <span invisible=\"subtask_count == 0\">\n                            (incl. <field name=\"subtask_allocated_hours\" nolabel=\"1\" widget=\"timesheet_uom_no_toggle\" class=\"oe_inline\"/> en\n                            <span class=\"fw-bold text-dark\"> subtareas</span>)\n                        </span>\n                        (<field name=\"progress\" invisible=\"not project_id\" class=\"oe_inline\" nolabel=\"1\" decoration-danger=\"progress &gt; 1.005\" digits=\"[1, 0]\" widget=\"percentage\"/>)\n                    </div>\n                </xpath>\n                <xpath expr=\"//t[@name='warning_section']\" position=\"inside\">\n                    <div class=\"alert alert-warning text-center mb-2\" role=\"alert\" invisible=\"analytic_account_active or not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        No puede registrar partes de horas en este proyecto, ya que está vinculado a una cuenta analítica inactiva.<br/> Por favor, cambie de cuenta, o reactive la cuenta actual para registrar partes de horas en este proyecto.\n                    </div>\n                </xpath>\n                <xpath expr=\"//notebook/page[@name='description_page']\" position=\"after\">\n                    <field name=\"allow_timesheets\" invisible=\"1\"/>\n                    <t groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        <field name=\"analytic_account_active\" invisible=\"1\"/>\n                    </t>\n                    <page string=\"Partes de horas\" name=\"page_timesheets\" id=\"timesheets_tab\" invisible=\"not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                    <field name=\"timesheet_ids\" mode=\"list,kanban\" readonly=\"not analytic_account_active\" context=\"{'default_project_id': project_id, 'default_name': '', 'form_view_ref': 'hr_timesheet.timesheet_view_form_user'}\">\n                        <list editable=\"bottom\" string=\"Actividades de los partes de horas\" default_order=\"date\" decoration-muted=\"readonly_timesheet == True\">\n                            <field name=\"readonly_timesheet\" column_invisible=\"True\"/>\n                            <field name=\"date\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"user_id\" column_invisible=\"True\"/>\n                            <field name=\"employee_id\" widget=\"many2one_avatar_employee\" context=\"{'active_test': True}\" required=\"1\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"name\" required=\"0\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"unit_amount\" string=\"Tiempo dedicado\" widget=\"timesheet_uom\" decoration-danger=\"unit_amount &gt; 24 or unit_amount &lt; 0\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"project_id\" column_invisible=\"True\"/>\n                            <field name=\"task_id\" column_invisible=\"True\"/>\n                            <field name=\"company_id\" column_invisible=\"True\"/>\n                        </list>\n                        <kanban class=\"o_kanban_mobile\">\n                            <templates>\n                                <t t-name=\"card\">\n                                    <div class=\"row\">\n                                        <div class=\"col-6 d-flex\">\n                                            <field name=\"employee_id\" class=\"me-1\" widget=\"many2one_avatar_employee\" context=\"{'active_test': True}\" readonly=\"readonly_timesheet\"/>\n                                            <field name=\"employee_id\" class=\"ps-1 fw-bold\"/>\n                                        </div>\n                                        <field name=\"date\" class=\"col-6 text-end fw-bold\"/>\n                                    </div>\n                                    <div class=\"row\">\n                                        <field name=\"name\" class=\"col-6 text-muted\" required=\"0\" readonly=\"readonly_timesheet\"/>\n                                        <field name=\"unit_amount\" widget=\"float_time\" class=\"col-6 text-end\"/>\n                                    </div>\n                                </t>\n                            </templates>\n                        </kanban>\n                        <form string=\"Actividades de los partes de horas\">\n                            <sheet>\n                                 <group>\n                                    <field name=\"readonly_timesheet\" invisible=\"1\"/>\n                                    <field name=\"date\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"user_id\" invisible=\"1\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"employee_id\" widget=\"many2one_avatar_employee\" context=\"{'active_test': True}\" required=\"1\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"name\" required=\"0\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"unit_amount\" string=\"Tiempo dedicado\" widget=\"float_time\" decoration-danger=\"unit_amount &gt; 24\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"project_id\" invisible=\"1\"/>\n                                    <field name=\"task_id\" invisible=\"1\"/>\n                                    <field name=\"company_id\" invisible=\"1\"/>\n                                </group>\n                            </sheet>\n                        </form>\n                    </field>\n                    <group invisible=\"not analytic_account_active\">\n                        <group class=\"oe_subtotal_footer\" name=\"project_hours\">\n                            <span class=\"o_td_label float-start\">\n                                <label class=\"fw-bold\" for=\"effective_hours\" string=\"Tiempo dedicado\"/>\n                            </span>\n                            <field name=\"effective_hours\" widget=\"timesheet_uom\" nolabel=\"1\"/>\n                            <button name=\"action_view_subtask_timesheet\" type=\"object\" class=\"ps-0 border-0 oe_inline oe_link mb-2 o_td_label float-start\" invisible=\"subtask_effective_hours == 0.0\">\n                                <span class=\"text-nowrap\">Tiempo dedicado a subtareas:</span>\n                            </button>\n                            <field name=\"subtask_effective_hours\" class=\"mt-2\" widget=\"timesheet_uom\" invisible=\"subtask_effective_hours == 0.0\" nolabel=\"1\"/>\n                            <span invisible=\"subtask_effective_hours == 0.0\" class=\"o_td_label float-start my-1\">\n                                <label class=\"fw-bold\" for=\"total_hours_spent\" invisible=\"subtask_effective_hours == 0.0 or encode_uom_in_days\"/>\n                                <label class=\"fw-bold\" for=\"total_hours_spent\" invisible=\"subtask_effective_hours == 0.0 or not encode_uom_in_days\"/>\n                            </span>\n                            <field name=\"total_hours_spent\" widget=\"timesheet_uom\" class=\"oe_subtotal_footer_separator\" nolabel=\"1\" invisible=\"subtask_effective_hours == 0.0\"/>\n                            <span class=\"o_td_label float-start my-1\" invisible=\"allocated_hours == 0.0\">\n                                <label class=\"fw-bold\" for=\"remaining_hours\" invisible=\"remaining_hours &lt; 0\"/>\n                                <label class=\"fw-bold text-danger\" for=\"remaining_hours\" invisible=\"remaining_hours &gt;= 0\"/>\n                            </span>\n                            <field name=\"remaining_hours\" widget=\"timesheet_uom\" class=\"oe_subtotal_footer_separator\" invisible=\"allocated_hours == 0.0\" nolabel=\"1\" decoration-danger=\"remaining_hours &lt; 0\"/>\n                        </group>\n                    </group>\n                </page>\n                </xpath>\n                <xpath expr=\"//field[@name='depend_on_ids']/list//field[@name='company_id']\" position=\"after\">\n                    <field name=\"progress\" column_invisible=\"True\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"allocated_hours\" widget=\"timesheet_uom_no_toggle\" sum=\"Tiempo asignado total\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"effective_hours\" widget=\"timesheet_uom\" sum=\"Horas reales\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"subtask_effective_hours\" widget=\"timesheet_uom\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"total_hours_spent\" widget=\"timesheet_uom\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"remaining_hours\" widget=\"timesheet_uom\" sum=\"Tiempo restante\" optional=\"hide\" decoration-danger=\"progress &gt;= 1\" decoration-warning=\"progress &gt;= 0.8 and progress &lt; 1\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"progress\" widget=\"project_task_progressbar\" optional=\"hide\" options=\"{'overflow_class': 'bg-danger'}\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                </xpath>\n            </data>", "pt_PT": "<data><xpath expr=\"//field[@name='child_ids']/list/field[@name='company_id']\" position=\"after\">\n                    <field name=\"allocated_hours\" widget=\"timesheet_uom_no_toggle\" sum=\"Tempo Total Alocado\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"effective_hours\" widget=\"timesheet_uom\" sum=\"Tempo Gasto\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"subtask_effective_hours\" widget=\"timesheet_uom\" sum=\"Sub-tarefas Tempo gasto\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"total_hours_spent\" widget=\"timesheet_uom\" sum=\"Total de Tempo Gasto\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"remaining_hours\" widget=\"timesheet_uom\" sum=\"Tempo Restante\" optional=\"hide\" decoration-danger=\"progress &gt;= 1\" decoration-warning=\"progress &gt;= 0.8 and progress &lt; 1\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"progress\" widget=\"project_task_progressbar\" optional=\"hide\" options=\"{'overflow_class': 'bg-danger'}\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                </xpath>\n                <xpath expr=\"//group/field[@name='allocated_hours']\" position=\"replace\">\n                    <field name=\"encode_uom_in_days\" invisible=\"1\"/>\n                    <field name=\"subtask_count\" invisible=\"1\"/>\n                    <label for=\"allocated_hours\" invisible=\"not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <div class=\"text-nowrap\" invisible=\"not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        <field name=\"allocated_hours\" class=\"oe_inline o_field_float_time o_task_planned_hours\" widget=\"timesheet_uom_no_toggle\"/>\n                        <span invisible=\"subtask_count == 0\">\n                            (incl. <field name=\"subtask_allocated_hours\" nolabel=\"1\" widget=\"timesheet_uom_no_toggle\" class=\"oe_inline\"/> em\n<span class=\"fw-bold text-dark\"> Sub-tarefas </span>)\n                        </span>\n                        (<field name=\"progress\" invisible=\"not project_id\" class=\"oe_inline\" nolabel=\"1\" decoration-danger=\"progress &gt; 1.005\" digits=\"[1, 0]\" widget=\"percentage\"/>)\n                    </div>\n                </xpath>\n                <xpath expr=\"//t[@name='warning_section']\" position=\"inside\">\n                    <div class=\"alert alert-warning text-center mb-2\" role=\"alert\" invisible=\"analytic_account_active or not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        Não pode registar folhas de horas neste projeto, pois ele está vinculado a uma conta analítica inativa.<br/> Altere esta conta ou reative a atual para registar folhas de horas no projeto.\n                    </div>\n                </xpath>\n                <xpath expr=\"//notebook/page[@name='description_page']\" position=\"after\">\n                    <field name=\"allow_timesheets\" invisible=\"1\"/>\n                    <t groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        <field name=\"analytic_account_active\" invisible=\"1\"/>\n                    </t>\n                    <page string=\"Registos de Horas\" name=\"page_timesheets\" id=\"timesheets_tab\" invisible=\"not allow_timesheets\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                    <field name=\"timesheet_ids\" mode=\"list,kanban\" readonly=\"not analytic_account_active\" context=\"{'default_project_id': project_id, 'default_name': '', 'form_view_ref': 'hr_timesheet.timesheet_view_form_user'}\">\n                        <list editable=\"bottom\" string=\"Atividades do Registo de Horas\" default_order=\"date\" decoration-muted=\"readonly_timesheet == True\">\n                            <field name=\"readonly_timesheet\" column_invisible=\"True\"/>\n                            <field name=\"date\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"user_id\" column_invisible=\"True\"/>\n                            <field name=\"employee_id\" widget=\"many2one_avatar_employee\" context=\"{'active_test': True}\" required=\"1\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"name\" required=\"0\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"unit_amount\" string=\"Tempo Gasto\" widget=\"timesheet_uom\" decoration-danger=\"unit_amount &gt; 24 or unit_amount &lt; 0\" readonly=\"readonly_timesheet\"/>\n                            <field name=\"project_id\" column_invisible=\"True\"/>\n                            <field name=\"task_id\" column_invisible=\"True\"/>\n                            <field name=\"company_id\" column_invisible=\"True\"/>\n                        </list>\n                        <kanban class=\"o_kanban_mobile\">\n                            <templates>\n                                <t t-name=\"card\">\n                                    <div class=\"row\">\n                                        <div class=\"col-6 d-flex\">\n                                            <field name=\"employee_id\" class=\"me-1\" widget=\"many2one_avatar_employee\" context=\"{'active_test': True}\" readonly=\"readonly_timesheet\"/>\n                                            <field name=\"employee_id\" class=\"ps-1 fw-bold\"/>\n                                        </div>\n                                        <field name=\"date\" class=\"col-6 text-end fw-bold\"/>\n                                    </div>\n                                    <div class=\"row\">\n                                        <field name=\"name\" class=\"col-6 text-muted\" required=\"0\" readonly=\"readonly_timesheet\"/>\n                                        <field name=\"unit_amount\" widget=\"float_time\" class=\"col-6 text-end\"/>\n                                    </div>\n                                </t>\n                            </templates>\n                        </kanban>\n                        <form string=\"Atividades do Registo de Horas\">\n                            <sheet>\n                                 <group>\n                                    <field name=\"readonly_timesheet\" invisible=\"1\"/>\n                                    <field name=\"date\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"user_id\" invisible=\"1\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"employee_id\" widget=\"many2one_avatar_employee\" context=\"{'active_test': True}\" required=\"1\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"name\" required=\"0\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"unit_amount\" string=\"Tempo Gasto\" widget=\"float_time\" decoration-danger=\"unit_amount &gt; 24\" readonly=\"readonly_timesheet\"/>\n                                    <field name=\"project_id\" invisible=\"1\"/>\n                                    <field name=\"task_id\" invisible=\"1\"/>\n                                    <field name=\"company_id\" invisible=\"1\"/>\n                                </group>\n                            </sheet>\n                        </form>\n                    </field>\n                    <group invisible=\"not analytic_account_active\">\n                        <group class=\"oe_subtotal_footer\" name=\"project_hours\">\n                            <span class=\"o_td_label float-start\">\n                                <label class=\"fw-bold\" for=\"effective_hours\" string=\"Tempo Gasto\"/>\n                            </span>\n                            <field name=\"effective_hours\" widget=\"timesheet_uom\" nolabel=\"1\"/>\n                            <button name=\"action_view_subtask_timesheet\" type=\"object\" class=\"ps-0 border-0 oe_inline oe_link mb-2 o_td_label float-start\" invisible=\"subtask_effective_hours == 0.0\">\n                                <span class=\"text-nowrap\"> Tempo Gasto em Sub-tarefas: </span>\n                            </button>\n                            <field name=\"subtask_effective_hours\" class=\"mt-2\" widget=\"timesheet_uom\" invisible=\"subtask_effective_hours == 0.0\" nolabel=\"1\"/>\n                            <span invisible=\"subtask_effective_hours == 0.0\" class=\"o_td_label float-start my-1\">\n                                <label class=\"fw-bold\" for=\"total_hours_spent\" invisible=\"subtask_effective_hours == 0.0 or encode_uom_in_days\"/>\n                                <label class=\"fw-bold\" for=\"total_hours_spent\" invisible=\"subtask_effective_hours == 0.0 or not encode_uom_in_days\"/>\n                            </span>\n                            <field name=\"total_hours_spent\" widget=\"timesheet_uom\" class=\"oe_subtotal_footer_separator\" nolabel=\"1\" invisible=\"subtask_effective_hours == 0.0\"/>\n                            <span class=\"o_td_label float-start my-1\" invisible=\"allocated_hours == 0.0\">\n                                <label class=\"fw-bold\" for=\"remaining_hours\" invisible=\"remaining_hours &lt; 0\"/>\n                                <label class=\"fw-bold text-danger\" for=\"remaining_hours\" invisible=\"remaining_hours &gt;= 0\"/>\n                            </span>\n                            <field name=\"remaining_hours\" widget=\"timesheet_uom\" class=\"oe_subtotal_footer_separator\" invisible=\"allocated_hours == 0.0\" nolabel=\"1\" decoration-danger=\"remaining_hours &lt; 0\"/>\n                        </group>\n                    </group>\n                </page>\n                </xpath>\n                <xpath expr=\"//field[@name='depend_on_ids']/list//field[@name='company_id']\" position=\"after\">\n                    <field name=\"progress\" column_invisible=\"True\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"allocated_hours\" widget=\"timesheet_uom_no_toggle\" sum=\"Tempo Total Alocado\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"effective_hours\" widget=\"timesheet_uom\" sum=\"Horas Efetivas\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"subtask_effective_hours\" widget=\"timesheet_uom\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"total_hours_spent\" widget=\"timesheet_uom\" optional=\"hide\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"remaining_hours\" widget=\"timesheet_uom\" sum=\"Tempo Restante\" optional=\"hide\" decoration-danger=\"progress &gt;= 1\" decoration-warning=\"progress &gt;= 0.8 and progress &lt; 1\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                    <field name=\"progress\" widget=\"project_task_progressbar\" optional=\"hide\" options=\"{'overflow_class': 'bg-danger'}\" groups=\"hr_timesheet.group_hr_timesheet_user\"/>\n                </xpath>\n            </data>"}