OdooWiki OCA HUB

Task Logs by Role

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

This module allows tracking time taking according to roles assigned on the project.

Features:

  • Option to require role selection on timesheet entry
  • Option to restrict selection of roles to current assignments only

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Track timesheet entries by the role a person plays on a project. You can require a role on every timesheet line and limit the roles offered to the ones actually assigned to that person on that project.

This module adds a Role field to timesheet entries (the account.analytic.line records used by Timesheets). When you log time on a project or task, you can pick the role the employee is acting in, and that role is shown in the timesheet list, form, kanban and search views, in the printed Timesheet report and in the customer portal timesheet table.

  • In Settings, under the timesheet options, a company-wide switch "Require role in Timesheets" decides whether a role must be filled in. It is on by default for new companies.
  • Each project has its own "Require role in Timesheets" option, which is pre-filled from the company setting when the project is created.
  • If a project requires a role, the Role field becomes mandatory on timesheet lines for that project.
  • If a project limits roles to current assignments, Odoo checks the chosen role against the roles the employee is actually assigned to on that project and blocks saving with an error message when it does not match.
  • Changing the project or the employee on a timesheet line automatically clears a role that is no longer valid and restricts the list of selectable roles to the ones available for that person and project.
  • You can search timesheet lines by role and group them by role.

Depends on

hr_timesheetproject_role
Models and fields (4)
  • res.company · extends an existing modelis_timesheet_role_required (Timesheet Role Required)
  • project.project · extends an existing modelis_timesheet_role_required (Timesheet Role Required)
  • res.config.settings · extends an existing modelis_timesheet_role_required
  • account.analytic.line · extends an existing modelrole_id (Role), is_role_required, limit_role_to_assignments

Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

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

Confirmation status: 2 confirmed, 7 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

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.