OdooWiki OCA HUB

Task Logs Employee Required

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

This module makes Employee a required field for Time Log entry.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

This module makes the Employee field mandatory on time log entries that are linked to a project, so users cannot save a task log without saying who did the work.

When a user records time on a project task, Odoo normally allows the Employee field to stay empty. With this module installed, that is no longer possible: if a time log line is attached to a project and no employee is set, Odoo refuses to save it and shows the message "Employee is required for Task Log".

The rule is applied automatically whenever a time log is created or changed, and it checks both the project and the employee at the same time. Time logs that are not linked to any project are not affected, so general analytic entries can still be recorded without an employee.

The change touches the same time log records used by the Timesheets application (account.analytic.line). No new menus, screens, buttons or reports are added; the only visible difference is the validation message that appears when the employee is missing on a project-related time log.

Because the check is a validation constraint, it also applies when time logs are created or modified through imports or other automated processes, not only through the user interface.

Depends on

hr_timesheet
Models and fields (1)
  • account.analytic.line · extends an existing model

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