OdooWiki OCA HUB

HR Employee Document

hr_employee_document folder_open OCA/hr open_in_new
Human Resources License: AGPL-3

This module displays a button on the employee's profile to view linked attachments, both for HR officers/managers and the own employee, so you can use it as employee document storage.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a Documents button on the employee form showing how many files are attached to that employee, and lets HR users and the employee open the list of those files.

This module turns the employee profile into a place to store and find documents. On the employee form a new "Documents" button appears in the button box, showing the number of files attached to that employee. Clicking it opens the standard attachment list filtered to that employee's files.

  • HR officers and managers see the button on the full employee form.
  • An employee can also see the button on their own profile card (the public employee form), but only when the card belongs to a user.
  • The attachment list opened from the button is filtered to the employee's files and uses a simplified search view: the "My Documents", "URL" and "Binary" filters are hidden, and a "Content" column is added.
  • The chatter on the employee form is set to refresh when an attachment is added, so the document count stays up to date.

Access is controlled: when the attachment list is opened from an employee, non-HR users can only see attachments of employees linked to them, and an employee can download files attached to their own employee record. The module touches hr.employee, hr.employee.public, ir.attachment and ir.rule.

Depends on

hr

Required by other modules

Models and fields (3)
  • ir.rule · extends an existing model
  • hr.employee · extends an existing modeldocument_count
  • hr.employee.public · extends an existing modeldocument_count

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

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.