OdooWiki OCA HUB

Timesheet portal (editable)

hr_timesheet_portal folder_open OCA/timesheet open_in_new
Website License: AGPL-3

This module allows portal users to edit their timesheets via the frontend.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets portal users add, edit and delete their own timesheet lines directly on the customer portal task page, without going into the backend.

This module turns the read-only timesheet list on the portal task page into an editable table. Users who belong to the new "Editable timesheets" group (under the Website category) see a plus icon to add a line, a pencil icon to edit a line and a remove icon to delete a line, but only for lines that belong to them.

  • Adding a line creates a timesheet entry on the task's project and analytic account with zero hours, then opens it for editing.
  • Editing lets the user change the description, the date and the number of hours, then save or cancel.
  • Deleting removes the timesheet line after confirmation by the server.
  • Errors are shown as a red alert at the top of the timesheet block, and the table refreshes after every change.

The module also adds a security rule on analytic lines so portal users can only reach timesheets of projects shared in the portal and linked to their own company/partner, and grants them create, read, write and delete access on those lines. On the employee form, the linked user field is restricted to internal users or users in the new group. System administrators automatically receive the new group.

Depends on

hr_timesheetportalwebsite

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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 15.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, grant users access to the "Editable timesheets" privilege. You can do this by:

  • Going to Settings > Users & Companies > Users, selecting a user, and setting "Editable timesheets" to "User" under the Website section, OR
  • Going to Settings > Users & Companies > Groups, searching for the "Editable timesheets" privilege, and adding users directly to its "User" group

If you want all portal users to be able to edit timesheets, add the "User" group of the "Editable timesheets" privilege as an implied group of the Portal group.

Users in the Website group Editable timesheets will see a plus button when they hover over Timesheets.

Clicking the plus button allows them to add a new timesheet line:

They can also edit their timesheet lines by hovering over a line and clicking the pencil button next to the date, or delete a line by clicking the cross next to the duration:

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.