Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr
Last tracking update
2026-08-07 08:43:00
Authors
Odoo Community Association (OCA), CorporateHub
Maintainers
Odoo Community Association (OCA), CorporateHub
Committers
Weblate, OCA-git-bot, Bhavesh Heliconia
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
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.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
hr_employee_public_view_form hr.employee.public.view.form.inherit.document hr.employee.public form Inherits hr.hr_employee_public_view_form
hr_employee_view_form hr.employee.view.form.inherit.document hr.employee form Inherits hr.view_employee_form
ir_attachment_view_search ir.attachment.search.inherit.employee ir.attachment search Inherits base.view_attachment_search
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • document_count Integer
    compute='_compute_document_count'
Public methods (2)
  • action_get_attachment_tree_view(self)
  • check_access(self, operation)
    @api.model
    Return access to the hr.employee model if we pass a specific context, is a trick to list the attachments related to an employee.

New fields (1)
  • is_logged Boolean
    compute='_compute_is_logged' store=False
Public methods (1)
  • action_get_attachment_tree_view(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
55 days ago
Last activity
13 days ago
Repository
OCA/hr
Pull request
[19.0] [MIG] hr_employee_document: Migration to 19.0 (#1587)