{"en_US": "<t name=\"My Timesheets\" t-name=\"hr_timesheet.portal_my_timesheets\">\n        <t t-call=\"portal.portal_layout\">\n            <t t-set=\"breadcrumbs_searchbar\" t-value=\"True\"/>\n\n            <t t-call=\"portal.portal_searchbar\">\n                <t t-set=\"title\">Timesheets</t>\n            </t>\n            <t t-if=\"not grouped_timesheets\">\n                <div class=\"alert alert-warning\" role=\"alert\">\n                    There are no timesheets.\n                </div>\n            </t>\n            <t t-if=\"grouped_timesheets\">\n                <t t-call=\"portal.portal_table\">\n                    <thead>\n                        <tr>\n                            <th t-if=\"not groupby == 'date'\">Date</th>\n                            <th t-if=\"not groupby == 'employee_id'\">Employee</th>\n                            <th t-if=\"not groupby == 'project_id'\">Project</th>\n                            <th t-if=\"not groupby == 'task_id'\">Task</th>\n                            <th>Description</th>\n                            <th class=\"text-end\" t-att-colspan=\"2 if groupby != 'none' else 0\" name=\"t_label\">Time Spent</th>\n                        </tr>\n                    </thead>\n                    <t t-foreach=\"grouped_timesheets\" t-as=\"timesheets_with_hours\">\n                        <t t-set=\"timesheets\" t-value=\"timesheets_with_hours[0]\"/>\n                        <t t-set=\"hours_spent\" t-value=\"timesheets_with_hours[1]\"/>\n                        <tbody style=\"font-size: 0.8rem\">\n                            <tr t-if=\"not groupby =='none'\" class=\"table-light\">\n                                <t t-if=\"groupby == 'project_id'\">\n                                    <th colspan=\"5\">\n                                        <span t-field=\"timesheets[0].project_id.name\"/>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'task_id'\">\n                                    <th colspan=\"5\">\n                                        <span t-if=\"timesheets[0].task_id\" t-field=\"timesheets[0].task_id.name\"/>\n                                        <span t-else=\"\">No Task</span>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'date'\">\n                                    <th colspan=\"5\">\n                                        <span t-field=\"timesheets[0].date\"/>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'employee_id'\">\n                                    <th colspan=\"5\">\n                                        <span t-field=\"timesheets[0].employee_id.name\"/>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'parent_task_id'\">\n                                    <th colspan=\"6\">\n                                        <span t-if=\"timesheets[0].parent_task_id\" t-field=\"timesheets[0].parent_task_id.name\"/>\n                                        <span t-else=\"\">No Parent Task</span>\n                                    </th>\n                                </t>\n                                <th colspan=\"1\" class=\"text-end text-muted\">\n                                    <t t-if=\"is_uom_day\">\n                                        Total: <span t-esc=\"timesheets._convert_hours_to_days(hours_spent)\" t-options=\"{&quot;widget&quot;: &quot;timesheet_uom&quot;}\"/>\n                                    </t>\n                                    <t t-else=\"\">\n                                        Total: <span t-esc=\"hours_spent\" t-options=\"{&quot;widget&quot;: &quot;float_time&quot;}\"/>\n                                    </t>\n                                </th>\n                            </tr>\n                        </tbody>\n                        <tbody style=\"font-size: 0.8rem\">\n                            <t t-foreach=\"timesheets\" t-as=\"timesheet\">\n                                <tr>\n                                    <td t-if=\"not groupby == 'date'\"><span t-field=\"timesheet.date\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\"/></td>\n                                    <td t-if=\"not groupby == 'employee_id'\"><span t-field=\"timesheet.employee_id\" t-att-title=\"timesheet.employee_id.display_name\"/></td>\n                                    <td t-if=\"not groupby == 'project_id'\"><span t-field=\"timesheet.project_id\" t-att-title=\"timesheet.project_id.display_name\"/></td>\n                                    <td t-if=\"not groupby == 'task_id'\"><span t-field=\"timesheet.task_id\" t-att-title=\"timesheet.task_id.display_name\"/></td>\n                                    <td><span t-esc=\"timesheet.name\" t-att-title=\"timesheet.name\"/></td>\n                                    <td class=\"text-end\" t-att-colspan=\"2 if groupby != 'none' else 0\">\n                                        <span t-if=\"is_uom_day\" t-esc=\"timesheet._get_timesheet_time_day()\" t-options=\"{&quot;widget&quot;: &quot;timesheet_uom&quot;}\"/>\n                                        <span t-else=\"\" t-field=\"timesheet.unit_amount\" t-options=\"{&quot;widget&quot;: &quot;float_time&quot;}\"/>\n                                    </td>\n                                </tr>\n                            </t>\n                        </tbody>\n                    </t>\n                </t>\n            </t>\n        </t>\n    </t>", "es_ES": "<t name=\"My Timesheets\" t-name=\"hr_timesheet.portal_my_timesheets\">\n        <t t-call=\"portal.portal_layout\">\n            <t t-set=\"breadcrumbs_searchbar\" t-value=\"True\"/>\n\n            <t t-call=\"portal.portal_searchbar\">\n                <t t-set=\"title\">Partes de horas</t>\n            </t>\n            <t t-if=\"not grouped_timesheets\">\n                <div class=\"alert alert-warning\" role=\"alert\">\n                    No hay partes de horas\n                </div>\n            </t>\n            <t t-if=\"grouped_timesheets\">\n                <t t-call=\"portal.portal_table\">\n                    <thead>\n                        <tr>\n                            <th t-if=\"not groupby == 'date'\">Fecha</th>\n                            <th t-if=\"not groupby == 'employee_id'\">Empleado</th>\n                            <th t-if=\"not groupby == 'project_id'\">Proyecto</th>\n                            <th t-if=\"not groupby == 'task_id'\">Tarea</th>\n                            <th>Descripción</th>\n                            <th class=\"text-end\" t-att-colspan=\"2 if groupby != 'none' else 0\" name=\"t_label\">Tiempo dedicado</th>\n                        </tr>\n                    </thead>\n                    <t t-foreach=\"grouped_timesheets\" t-as=\"timesheets_with_hours\">\n                        <t t-set=\"timesheets\" t-value=\"timesheets_with_hours[0]\"/>\n                        <t t-set=\"hours_spent\" t-value=\"timesheets_with_hours[1]\"/>\n                        <tbody style=\"font-size: 0.8rem\">\n                            <tr t-if=\"not groupby =='none'\" class=\"table-light\">\n                                <t t-if=\"groupby == 'project_id'\">\n                                    <th colspan=\"5\">\n                                        <span t-field=\"timesheets[0].project_id.name\"/>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'task_id'\">\n                                    <th colspan=\"5\">\n                                        <span t-if=\"timesheets[0].task_id\" t-field=\"timesheets[0].task_id.name\"/>\n                                        <span t-else=\"\">Sin tarea</span>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'date'\">\n                                    <th colspan=\"5\">\n                                        <span t-field=\"timesheets[0].date\"/>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'employee_id'\">\n                                    <th colspan=\"5\">\n                                        <span t-field=\"timesheets[0].employee_id.name\"/>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'parent_task_id'\">\n                                    <th colspan=\"6\">\n                                        <span t-if=\"timesheets[0].parent_task_id\" t-field=\"timesheets[0].parent_task_id.name\"/>\n                                        <span t-else=\"\">Sin tarea padre</span>\n                                    </th>\n                                </t>\n                                <th colspan=\"1\" class=\"text-end text-muted\">\n                                    <t t-if=\"is_uom_day\">\n                                        Total: <span t-esc=\"timesheets._convert_hours_to_days(hours_spent)\" t-options=\"{&quot;widget&quot;: &quot;timesheet_uom&quot;}\"/>\n                                    </t>\n                                    <t t-else=\"\">\n                                        Total: <span t-esc=\"hours_spent\" t-options=\"{&quot;widget&quot;: &quot;float_time&quot;}\"/>\n                                    </t>\n                                </th>\n                            </tr>\n                        </tbody>\n                        <tbody style=\"font-size: 0.8rem\">\n                            <t t-foreach=\"timesheets\" t-as=\"timesheet\">\n                                <tr>\n                                    <td t-if=\"not groupby == 'date'\"><span t-field=\"timesheet.date\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\"/></td>\n                                    <td t-if=\"not groupby == 'employee_id'\"><span t-field=\"timesheet.employee_id\" t-att-title=\"timesheet.employee_id.display_name\"/></td>\n                                    <td t-if=\"not groupby == 'project_id'\"><span t-field=\"timesheet.project_id\" t-att-title=\"timesheet.project_id.display_name\"/></td>\n                                    <td t-if=\"not groupby == 'task_id'\"><span t-field=\"timesheet.task_id\" t-att-title=\"timesheet.task_id.display_name\"/></td>\n                                    <td><span t-esc=\"timesheet.name\" t-att-title=\"timesheet.name\"/></td>\n                                    <td class=\"text-end\" t-att-colspan=\"2 if groupby != 'none' else 0\">\n                                        <span t-if=\"is_uom_day\" t-esc=\"timesheet._get_timesheet_time_day()\" t-options=\"{&quot;widget&quot;: &quot;timesheet_uom&quot;}\"/>\n                                        <span t-else=\"\" t-field=\"timesheet.unit_amount\" t-options=\"{&quot;widget&quot;: &quot;float_time&quot;}\"/>\n                                    </td>\n                                </tr>\n                            </t>\n                        </tbody>\n                    </t>\n                </t>\n            </t>\n        </t>\n    </t>", "pt_PT": "<t name=\"My Timesheets\" t-name=\"hr_timesheet.portal_my_timesheets\">\n        <t t-call=\"portal.portal_layout\">\n            <t t-set=\"breadcrumbs_searchbar\" t-value=\"True\"/>\n\n            <t t-call=\"portal.portal_searchbar\">\n                <t t-set=\"title\">Registos de Horas</t>\n            </t>\n            <t t-if=\"not grouped_timesheets\">\n                <div class=\"alert alert-warning\" role=\"alert\">\n                    Não existem registos de horas.\n                </div>\n            </t>\n            <t t-if=\"grouped_timesheets\">\n                <t t-call=\"portal.portal_table\">\n                    <thead>\n                        <tr>\n                            <th t-if=\"not groupby == 'date'\">Data</th>\n                            <th t-if=\"not groupby == 'employee_id'\">Funcionário</th>\n                            <th t-if=\"not groupby == 'project_id'\">Projeto</th>\n                            <th t-if=\"not groupby == 'task_id'\">Tarefa</th>\n                            <th>Descrição</th>\n                            <th class=\"text-end\" t-att-colspan=\"2 if groupby != 'none' else 0\" name=\"t_label\">Tempo Gasto</th>\n                        </tr>\n                    </thead>\n                    <t t-foreach=\"grouped_timesheets\" t-as=\"timesheets_with_hours\">\n                        <t t-set=\"timesheets\" t-value=\"timesheets_with_hours[0]\"/>\n                        <t t-set=\"hours_spent\" t-value=\"timesheets_with_hours[1]\"/>\n                        <tbody style=\"font-size: 0.8rem\">\n                            <tr t-if=\"not groupby =='none'\" class=\"table-light\">\n                                <t t-if=\"groupby == 'project_id'\">\n                                    <th colspan=\"5\">\n                                        <span t-field=\"timesheets[0].project_id.name\"/>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'task_id'\">\n                                    <th colspan=\"5\">\n                                        <span t-if=\"timesheets[0].task_id\" t-field=\"timesheets[0].task_id.name\"/>\n                                        <span t-else=\"\">Sem Tarefa</span>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'date'\">\n                                    <th colspan=\"5\">\n                                        <span t-field=\"timesheets[0].date\"/>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'employee_id'\">\n                                    <th colspan=\"5\">\n                                        <span t-field=\"timesheets[0].employee_id.name\"/>\n                                    </th>\n                                </t>\n                                <t t-elif=\"groupby == 'parent_task_id'\">\n                                    <th colspan=\"6\">\n                                        <span t-if=\"timesheets[0].parent_task_id\" t-field=\"timesheets[0].parent_task_id.name\"/>\n                                        <span t-else=\"\">Sem Tarefa Ascendente</span>\n                                    </th>\n                                </t>\n                                <th colspan=\"1\" class=\"text-end text-muted\">\n                                    <t t-if=\"is_uom_day\">\n                                        Total: <span t-esc=\"timesheets._convert_hours_to_days(hours_spent)\" t-options=\"{&quot;widget&quot;: &quot;timesheet_uom&quot;}\"/>\n                                    </t>\n                                    <t t-else=\"\">\n                                        Total: <span t-esc=\"hours_spent\" t-options=\"{&quot;widget&quot;: &quot;float_time&quot;}\"/>\n                                    </t>\n                                </th>\n                            </tr>\n                        </tbody>\n                        <tbody style=\"font-size: 0.8rem\">\n                            <t t-foreach=\"timesheets\" t-as=\"timesheet\">\n                                <tr>\n                                    <td t-if=\"not groupby == 'date'\"><span t-field=\"timesheet.date\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\"/></td>\n                                    <td t-if=\"not groupby == 'employee_id'\"><span t-field=\"timesheet.employee_id\" t-att-title=\"timesheet.employee_id.display_name\"/></td>\n                                    <td t-if=\"not groupby == 'project_id'\"><span t-field=\"timesheet.project_id\" t-att-title=\"timesheet.project_id.display_name\"/></td>\n                                    <td t-if=\"not groupby == 'task_id'\"><span t-field=\"timesheet.task_id\" t-att-title=\"timesheet.task_id.display_name\"/></td>\n                                    <td><span t-esc=\"timesheet.name\" t-att-title=\"timesheet.name\"/></td>\n                                    <td class=\"text-end\" t-att-colspan=\"2 if groupby != 'none' else 0\">\n                                        <span t-if=\"is_uom_day\" t-esc=\"timesheet._get_timesheet_time_day()\" t-options=\"{&quot;widget&quot;: &quot;timesheet_uom&quot;}\"/>\n                                        <span t-else=\"\" t-field=\"timesheet.unit_amount\" t-options=\"{&quot;widget&quot;: &quot;float_time&quot;}\"/>\n                                    </td>\n                                </tr>\n                            </t>\n                        </tbody>\n                    </t>\n                </t>\n            </t>\n        </t>\n    </t>"}