Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr
Last tracking update
2026-08-07 09:06:28
Authors
Odoo Community Association (OCA), CorporateHub
Maintainers
Odoo Community Association (OCA), CorporateHub
Committers
Ruchir Shukla, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
python-dateutil
System dependencies
None
Required by
l10n_br_hr
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 form Inherits hr.view_employee_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…