HR Employee Document

hr_employee_document
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/18.0/hr_employee_document
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits hr.hr_employee_public_view_form
hr_employee_view_form hr.employee.view.form.inherit.document hr.employee div Inherits hr.view_employee_form
ir_attachment_view_search ir.attachment.search.inherit.employee ir.attachment field Inherits base.view_attachment_search
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.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/17.0/hr_employee_document
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSVíctor Martínez, OCA-git-bot, oca-ci, Antoni Marroig Campomar
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - phone_validation
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits hr.hr_employee_public_view_form
hr_employee_view_form hr.employee.view.form.inherit.document hr.employee div Inherits hr.view_employee_form
ir_attachment_view_search ir.attachment.search.inherit.employee ir.attachment field Inherits base.view_attachment_search
Models touched (3)

New fields (1)
  • document_count Integer
    compute='_compute_document_count'
Public methods (2)
  • action_get_attachment_tree_view(self)
  • check_access_rights(self, operation, raise_exception=True)
    @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.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/16.0/hr_employee_document
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci, BT-anieto
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

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

New fields (1)
  • document_count Integer
    compute='_compute_document_count'
Public methods (2)
  • action_get_attachment_tree_view(self)
  • check_access_rights(self, operation, raise_exception=True)
    @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.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/15.0/hr_employee_document
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

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

New fields (1)
  • document_count Integer
    compute='_compute_document_count'
Public methods (2)
  • action_get_attachment_tree_view(self)
  • check_access_rights(self, operation, raise_exception=True)
    @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.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/14.0/hr_employee_document
VERSION
VERSION 2.0.2
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci, Marcel Savegnago, kaynnan
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

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

New fields (1)
  • document_count Integer
    compute='_compute_document_count' string='Document Count'
Public methods (2)
  • action_get_attachment_tree_view(self)
  • check_access_rights(self, operation, raise_exception=True)
    @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.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/13.0/hr_employee_document
VERSION
VERSION 4.0.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSAlexey Pelykh, OCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, oca-ci, newtratip
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - mail_bot
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

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

New fields (1)
  • document_count Integer
    compute='_compute_document_count' string='Document Count'
Public methods (2)
  • action_get_attachment_tree_view(self)
  • check_access_rights(self, operation, raise_exception=True)
    @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.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/12.0/hr_employee_document
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSAlexey Pelykh, OCA Transbot, oca-travis, Weblate, OCA-git-bot, robin.keunen
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - document
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_view_form hr.employee.view.form.inherit.document hr.employee field Inherits hr.view_employee_form
ir_attachment_view_search ir.attachment.search.inherit.employee ir.attachment field Inherits base.view_attachment_search
Models touched (1)

New fields (2)
  • document_ids One2many → ir.attachment
    compute='_compute_document_ids' groups='hr.group_hr_user' string='Documents' args: 'ir.attachment'
  • documents_count Integer
    compute='_compute_document_ids' groups='hr.group_hr_user' string='Document Count'
Public methods (1)
  • action_get_attachment_tree_view(self)
    @api.multi
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/hr
PULL REQUEST
PULL REQUEST[19.0] [MIG] hr_employee_document: Migration to 19.0 (#1587)