OdooWiki OCA HUB

Task Logs Timesheet Report

hr_timesheet_report folder_open OCA/timesheet open_in_new
Human Resources License: AGPL-3

This module allows to generate configurable Timesheet Report from Task Logs.

Features:

> - Select reported fields > - Select and reorder report line grouping > - Configure time format (HH:MM, HH:MM:SS, or decimal) > - View in browser, export in PDF and XLSX formats

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Generate a configurable Timesheet Report from task logs, choosing which fields to show, how to group lines, and the time format, then view it in the browser or export it to PDF or XLSX.

This module adds a Timesheet Report Wizard under the Timesheets reporting menu. From there, users pick the timesheet entries to report on, either by selecting specific analytic lines or by filtering on a date range, projects, tasks, employees, employee tags and departments.

The wizard lets users choose which fields appear as report details (for example date and description) and which fields are used to group the lines (by default project, task and employee). Grouping fields can be reordered, and at least one detail field is required. Users also choose the time format: hours and minutes, hours, minutes and seconds, or decimal.

Three buttons produce the report: View opens it in the browser, Export to PDF downloads a PDF, and Export to XLSX downloads an Excel file. The report shows a header with the applied filters, grouped sections with subtotals, and a grand total of hours. The same wizard can also be opened directly from selected timesheet lines using the Generate Timesheet Report action.

The report is built on account.analytic.line records and reads project, task, employee, department and unit-of-measure data. Totals are always converted to hours.

Depends on

hr_timesheetreport_xlsx

Menus it adds

Timesheet Report Wizard
Models and fields (12)
  • hr.timesheet.report · new modeldate_to (End Date), line_ids (Account Analytics Lines), task_ids (Tasks), date_from (Start Date), group_ids (Groups), project_ids (Projects), time_format (Time format), employee_ids (Employees), department_ids (Departments), entry_field_ids (Entry Fields), groupby_field_ids (Group-By Fields), total_unit_amount (Total Quantity), employee_category_ids (Employee Tags)
  • account.analytic.line · extends an existing model
  • hr.timesheet.report.entry · new modelscope, group_id (Group), sequence, any_line_id (Account Analytics Lines), total_unit_amount (Total Quantity)
  • hr.timesheet.report.field · new modelgroupby (Group-by expression), sequence, report_id (Report), field_name (Field name), field_type (Field type), aggregation, field_title (Field title)
  • hr.timesheet.report.group · new modelname, scope, sequence, entry_ids (Entries), report_id (Report), total_unit_amount (Total Quantity)
  • hr.timesheet.report.wizard · new modeldate_to (End Date), line_ids (Account Analytics Lines), task_ids (Tasks), date_from (Start Date), project_ids (Projects), time_format (Time format), employee_ids (Employees), has_line_ids (Has lines (technical)), department_ids (Departments), entry_field_ids (Details Fields), grouping_field_ids (Grouping Fields), employee_category_ids (Employee Tags)
  • hr.timesheet.report.field.entry · new modelcell_classes (Cell classes)
  • hr.timesheet.report.wizard.field · new modelsequence, wizard_id (Wizard), field_name (Field), field_type (Type), field_title (Title)
  • hr.timesheet.report.field.groupby · new model
  • report.hr_timesheet_report.report · new model
  • hr.timesheet.report.wizard.field.details · new model
  • hr.timesheet.report.wizard.field.grouping · new model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/timesheet.

terminal Installation and usage

OCA documentation · Odoo 18.0

To create report using Timesheet Report Wizard on a specific set of Timesheet entries:

  • Go to Timesheets \> My Timesheets or Timesheets \> All timesheets.
  • Select entries that should be used in the report
  • Press the Action \> Generate Timesheet Report button
  • Configure the report and export it in one of the formats

To create report using Timesheet Report Wizard on a generic set of Timesheet entries:

  • Go to Timesheets \> Reporting \> Timesheet Report Wizard.
  • Configure the report and export it in one of the formats

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.