How to Generate Timesheets for Time Off Records

Do you need to create timesheets for each employee’s Time Off in Odoo? You can enable this functionality in just a few steps:

  1. Navigate to Timesheets > Configuration > Settings > Time Off.
  2. Select the option Time Off​.
  3. Choose a Project and Task to log Time Off timesheets.

Once set up, this feature is automatically enabled for all Time Off Types. However, it can be customized per Time Off Type.

To update the feature for a specific Time Off Type, open the Time Off Type form view. You can access it via Time Off > Configuration > Time Off Types > Select a specific record​. In the form view, locate the Timesheets​ section.

The configuration differs depending on whether a company is selected for the Time Off Type:

  1. No company selected:
    • Use the Generate Timesheets​ checkbox to enable or disable the functionality.
    • The Project and Task settings from the main Timesheet configuration are applied.
  2. Company selected:
    • Project and Task selection fields are available. By default, the Project and Task from the main Timesheet configuration are applied.
    • If no Project and Task are defined, the functionality is considered disabled.

The timing of when timesheets are created depends on the Time Off Type Approval setting:

  • No approval required: Timesheets are generated when the Time Off is created.
  • Approval required: Timesheets are generated once the Time Off is approved.

Possible Improvements: Using different ways to disable the feature for Time Off Types might cause confusion for users. It would be helpful if Odoo standardized this process. For example, keeping the Generate Timesheets​ checkbox for all scenarios and only displaying the Project and Task fields when a company is selected could make the configuration more intuitive.