OdooWiki OCA HUB

HR Timesheet Predefined Description Rules

hr_timesheet_predefined_description_rules folder_open OCA/timesheet open_in_new
Timesheet License: AGPL-3

Manage predefined timesheet descriptions with optional free text and validation rules.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds optional free-text rules to predefined timesheet descriptions, so users can be allowed, required, or prevented from adding extra notes that may be appended to the description.

This module extends the predefined timesheet descriptions already available in Odoo with rules about extra free text.

On each predefined description (the timesheet.predefined.description list) you get three new options: allow free text, require free text, and append free text to the description name. If you turn off "allow free text", the other two options are automatically cleared.

When a user records time on a timesheet line and picks a predefined description, an "Additional Description" field becomes editable only if that description allows free text. If the description requires free text and the user leaves it empty, Odoo blocks the save with an error asking for additional information. If the description is set to append free text, the line's description is automatically rewritten as the predefined description followed by the user's text; otherwise it is replaced by the predefined description alone.

These rules apply when the timesheet line is linked to a task or a ticket. The extra field appears on timesheet sheets, on timesheet list and form views, and on the task form's timesheet lines, next to the predefined description field.

Models and fields (2)
  • account.analytic.line · extends an existing modelfree_text (Additional Description), allow_free_text_related
  • timesheet.predefined.description · extends an existing modelallow_free_text, free_text_required, append_free_text_to_name

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 16.0

Configure:

  • Go to Timesheets > Configuration > Predefined Descriptions.
  • Click on Create.
  • Enable Allow Free Text to see all additional options, Append Free Text and Require Free Text.
  • Save the description.
  • When creating a timesheet, select the predefined description to automatically fill or append text to the entry.

To use this module, go to Timesheets > Configuration > Predefined Descriptions.

Create or edit a predefined description and configure:

  • Allow Free Text: lets users add additional text.
  • Free Text Required: forces users to fill in additional text.
  • Append Free Text to Name: appends the additional text to the description name.

These features only work if the analytic line is linked to a task or ticket.

No verified information in OCA: Installation.

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.