OdooWiki OCA HUB

Project Timesheet Holidays Dynamic Description

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

Use the time off description for the generated timesheet lines.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

When time off generates timesheet entries, this module adds the leave description to the timesheet line description, so you can see why the hours were logged. It can be switched on or off per company in the Timesheets settings.

This module changes how timesheet lines created automatically from approved time off are described. Instead of a generic label, the description of the leave is placed in front of the usual timesheet description, separated by a dash.

Where it appears in Odoo: - In the Timesheets settings screen, right after the existing time-off validation option, there is a new checkbox called "Dynamic Description" with the note that timesheet descriptions will include the leave reason. - The setting is stored on the company, so each company can decide separately.

Automatic behaviour: - The option is enabled by default for a company. - When a time off record generates timesheet lines, the module checks whether the option is active for that company and whether the leave has a description. If both are true, the leave description is prepended to the timesheet line name. - If the option is turned off, or the leave has no description, timesheet lines keep their normal description.

Areas touched: - Time off records (hr.leave), where the timesheet line values are prepared. - Company settings (res.company) and the general settings screen (res.config.settings).

No new menus, reports, emails or scheduled jobs are added.

Depends on

project_timesheet_holidays
Models and fields (2)
  • res.company · extends an existing modeldynamic_timesheet_description (Dynamic Description)
  • res.config.settings · extends an existing modeldynamic_timesheet_description

Text generated by AI (DeepSeek) from reading the Odoo 19.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 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

Activate "Dynamic Descriptions" in the Timesheet settings. From that point on, whenever a timesheet line is generated from a time off, the description set in the leave will be assigned to the Timesheet Line.

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.