HR Timesheet Sheet: Project Manager Policy
This module allows setting Department Manager as Reviewer on Timesheet Sheets.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a new timesheet sheet review policy where the Project Manager approves sheets, and lets each sheet be linked to a specific project.
This module extends the Timesheet Sheets app with a new review policy called "By Project Manager". When a company selects this policy, each timesheet sheet must be linked to a project, and the project's manager becomes the reviewer of that sheet.
On the timesheet sheet form, a new Project field appears when the review policy is "By Project Manager" and is required in that case. Once the sheet is no longer in draft, the project cannot be changed. When a project is chosen, the sheet's add-line project is set automatically and the timesheet lines are recomputed.
Business rules added: - A sheet using this policy cannot be saved without a project. - The company of the sheet and the company of the project must match. - Overlapping sheets are checked per project, so two sheets for the same employee and project cannot overlap. - Only the project manager can review the sheet; otherwise an error is raised. - Timesheet lines shown on the sheet are filtered to the selected project.
In the timesheet lines list and form, the project column is hidden and made read-only when this policy is active, because the project is already fixed on the sheet. The search view gains a Project filter and a "Project" grouping option.
The module touches hr_timesheet.sheet, account.analytic.line and res.company.
Depends on
Required by other modules
Models and fields (3)
- res.company · extends an existing modeltimesheet_sheet_review_policy
- hr_timesheet.sheet · extends an existing modelproject_id (Project)
- account.analytic.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.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-03Confirmation status: 6 confirmed, 3 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 18.0Configuration
Source · Odoo 18.0Go to Timesheets > Configuration > Timesheet Options > Timesheet Sheet Review Policy and select the option "By Project Manager".
Usage
Source · Odoo 18.0- The "Project" field is added to the Timesheet Sheets.
- The records that will be created in the sheets will be filtered by the defined project.
- The possible reviewers will also be the Project Managers of the corresponding project.
No verified information in OCA: Installation.
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.
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.