HR Employee Relatives

hr_employee_relative
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/19.0/hr_employee_relative
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
COMMITTERSRuchir Shukla, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows storing information about employee's family.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_relative_view_tree hr.employee.relative.view.list hr.employee.relative list New
hr_employee_view_form hr.employee.view.form.inherit.relatives hr.employee field Inherits hr.view_employee_form
Models touched (3)

New fields (1)
  • relative_ids One2many → hr.employee.relative
    comodel_name='hr.employee.relative' inverse_name='employee_id'
Public methods (0)

No public methods.

New fields (12)
  • age_day Integer
    compute='_compute_age' string='Age (Days)'
  • age_month Integer
    compute='_compute_age' string='Age (Months)'
  • age_year Integer
    compute='_compute_age' string='Age (Years)'
  • date_of_birth Date
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee'
  • gender Selection
    selection=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')]
  • job Char
  • name Char
    required=True
  • notes Text
  • partner_id Many2one → res.partner
    domain=['&', ('is_company', '=', False), ('type', '=', 'contact')] args: 'res.partner'
  • phone_number Char
  • relation_id Many2one → hr.employee.relative.relation
    required=True args: 'hr.employee.relative.relation'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True string='Relation' translate=True
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/18.0/hr_employee_relative
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
COMMITTERSWeblate, OCA-git-bot, oca-ci, Franco Leyes, jguerriat
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 python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows storing information about employee's family.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_relative_view_tree hr.employee.relative.view.list hr.employee.relative list New
hr_employee_view_form hr.employee.view.form.inherit.relatives hr.employee field Inherits hr.view_employee_form
Models touched (3)

New fields (1)
  • relative_ids One2many → hr.employee.relative
    comodel_name='hr.employee.relative' inverse_name='employee_id'
Public methods (0)

No public methods.

New fields (12)
  • age_day Integer
    compute='_compute_age' string='Age (Days)'
  • age_month Integer
    compute='_compute_age' string='Age (Months)'
  • age_year Integer
    compute='_compute_age' string='Age (Years)'
  • date_of_birth Date
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee'
  • gender Selection
    selection=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')]
  • job Char
  • name Char
    required=True
  • notes Text
  • partner_id Many2one → res.partner
    domain=['&', ('is_company', '=', False), ('type', '=', 'contact')] args: 'res.partner'
  • phone_number Char
  • relation_id Many2one → hr.employee.relative.relation
    required=True args: 'hr.employee.relative.relation'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True string='Relation' translate=True
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_relative
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, oca-ci, Patryk Pyczko
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 python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows storing information about employee's family.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_relative_view_tree hr.employee.relative.view.tree hr.employee.relative tree New
hr_employee_view_form hr.employee.view.form.inherit.relatives hr.employee field Inherits hr.view_employee_form
Models touched (3)

New fields (1)
  • relative_ids One2many → hr.employee.relative
    comodel_name='hr.employee.relative' inverse_name='employee_id'
Public methods (0)

No public methods.

New fields (12)
  • age_day Integer
    string='Age (Days)'
  • age_month Integer
    string='Age (Months)'
  • age_year Integer
    compute='_compute_age' string='Age (Years)'
  • date_of_birth Date
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee'
  • gender Selection
    selection=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')]
  • job Char
  • name Char
    required=True
  • notes Text
  • partner_id Many2one → res.partner
    domain=['&', ('is_company', '=', False), ('type', '=', 'contact')] args: 'res.partner'
  • phone_number Char
  • relation_id Many2one → hr.employee.relative.relation
    required=True args: 'hr.employee.relative.relation'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True string='Relation' translate=True
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_relative
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, oca-ci
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 python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_relative_view_tree hr.employee.relative.view.tree hr.employee.relative tree New
hr_employee_view_form hr.employee.view.form.inherit.relatives hr.employee field Inherits hr.view_employee_form
Models touched (3)

New fields (1)
  • relative_ids One2many → hr.employee.relative
    comodel_name='hr.employee.relative' inverse_name='employee_id'
Public methods (0)

No public methods.

New fields (10)
  • age Float
    compute='_compute_age'
  • date_of_birth Date
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee'
  • gender Selection
    selection=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')]
  • job Char
  • name Char
    required=True
  • notes Text
  • partner_id Many2one → res.partner
    domain=['&', ('is_company', '=', False), ('type', '=', 'contact')] args: 'res.partner'
  • phone_number Char
  • relation_id Many2one → hr.employee.relative.relation
    required=True args: 'hr.employee.relative.relation'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True string='Relation' translate=True
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_relative
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, oca-ci, Olga Marco
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 python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_relative_view_tree hr.employee.relative.view.tree hr.employee.relative tree New
hr_employee_view_form hr.employee.view.form.inherit.relatives hr.employee field Inherits hr.view_employee_form
Models touched (3)

New fields (1)
  • relative_ids One2many → hr.employee.relative
    comodel_name='hr.employee.relative' inverse_name='employee_id' string='Relatives'
Public methods (0)

No public methods.

New fields (10)
  • age Float
    compute='_compute_age'
  • date_of_birth Date
    string='Date of Birth'
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee' string='Employee'
  • gender Selection
    selection=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')]
  • job Char
  • name Char
    required=True
  • notes Text
  • partner_id Many2one → res.partner
    domain=['&', ('is_company', '=', False), ('type', '=', 'contact')] string='Partner' args: 'res.partner'
  • phone_number Char
  • relation_id Many2one → hr.employee.relative.relation
    required=True string='Relation' args: 'hr.employee.relative.relation'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True string='Relation' translate=True
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_relative
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
COMMITTERSPedro M. Baeza, Enric Tobella, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci, aphon61bank
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 python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_relative_view_tree hr.employee.relative.view.tree hr.employee.relative tree New
hr_employee_view_form hr.employee.view.form.inherit.relatives hr.employee field Inherits hr.view_employee_form
Models touched (3)

New fields (1)
  • relative_ids One2many → hr.employee.relative
    comodel_name='hr.employee.relative' inverse_name='employee_id' string='Relatives'
Public methods (0)

No public methods.

New fields (10)
  • age Float
    compute='_compute_age'
  • date_of_birth Date
    string='Date of Birth'
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee' string='Employee'
  • gender Selection
    selection=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')] string='Gender'
  • job Char
  • name Char
    required=True string='Name'
  • notes Text
    string='Notes'
  • partner_id Many2one → res.partner
    domain=['&', ('is_company', '=', False), ('type', '=', 'contact')] string='Partner' args: 'res.partner'
  • phone_number Char
  • relation_id Many2one → hr.employee.relative.relation
    required=True string='Relation' args: 'hr.employee.relative.relation'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True string='Relation' translate=True
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_relative
VERSION
VERSION 1.1.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, oca-travis, Weblate, OCA-git-bot, Jaime Arroyo, Saran440, Alba Riera
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 python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_relative_view_tree hr.employee.relative.view.tree hr.employee.relative tree New
hr_employee_view_form hr.employee.view.form.inherit.relatives hr.employee xpath Inherits hr.view_employee_form
Models touched (3)

New fields (2)
  • relative_ids One2many → hr.employee.relative
    comodel_name='hr.employee.relative' inverse_name='employee_id' string='Relatives'
  • relatives_count Integer
    compute='_compute_relatives_count'
Public methods (1)
  • action_view_relatives(self)

New fields (10)
  • age Float
    compute='_compute_age'
  • date_of_birth Date
    string='Date of Birth'
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee' string='Employee'
  • gender Selection
    selection=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')] string='Gender'
  • job Char
  • name Char
    required=True string='Name'
  • notes Text
    string='Notes'
  • partner_id Many2one → res.partner
    domain=['&', ('is_company', '=', False), ('type', '=', 'contact')] string='Partner' args: 'res.partner'
  • phone_number Char
  • relation_id Many2one → hr.employee.relative.relation
    required=True string='Relation' args: 'hr.employee.relative.relation'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True string='Relation' translate=True
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_relative
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
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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_relative_view_tree hr.employee.relative.view.tree hr.employee.relative tree New
hr_employee_view_form hr.employee.view.form.inherit.relatives hr.employee field Inherits hr.view_employee_form
Models touched (3)

New fields (1)
  • relative_ids One2many → hr.employee.relative
    comodel_name='hr.employee.relative' inverse_name='employee_id' string='Relatives'
Public methods (0)

No public methods.

New fields (10)
  • age Float
    compute='_compute_age'
  • date_of_birth Date
    string='Date of Birth'
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee' string='Employee'
  • gender Selection
    selection=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')] string='Gender'
  • job Char
  • name Char
    required=True string='Name'
  • notes Text
    string='Notes'
  • partner_id Many2one → res.partner
    domain=['&', ('is_company', '=', False), ('type', '=', 'contact')] string='Partner' args: 'res.partner'
  • phone_number Char
  • relation_id Many2one → hr.employee.relative.relation
    required=True string='Relation' args: 'hr.employee.relative.relation'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True string='Relation' translate=True
Public methods (0)

No public methods.