Repository
OCA/hr · module folder · Try on Runboat
Module version
1.1.1
Category
Human Resources
Folder size
0.09 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
Savoir-faire Linux, Odoo Community Association (OCA), Fekete Mihai (Forest and Biomass Services Romania), Onestein
Maintainers
Savoir-faire Linux, Odoo Community Association (OCA), Fekete Mihai (Forest and Biomass Services Romania), Onestein
Committers
Weblate, Ruchir Shukla, OCA-git-bot, oca-ci, Vicent-S73, BT-pkosnik
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
hr_employee_second_lastname
Description
This module allows you to add firstname and lastname in employee form,
and concatenate both in name field.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form Add employee_names_order config parameter res.config.settings form Inherits base_setup.res_config_settings_view_form
view_employee_form hr.employee form Inherits hr.view_employee_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (2)
  • firstname Char
  • lastname Char
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • split_name(self, name)
    @api.model
  • write(self, vals)

New fields (2)
  • firstname Char
    related='employee_id.firstname'
  • lastname Char
    related='employee_id.lastname'
Public methods (0)

No public methods.

New fields (1)
  • employee_names_order Selection
    config_parameter='employee_names_order' default=<expr> help='Order to compose employee fullname' required=True selection='_employee_names_order_selection'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…