OdooWiki OCA HUB

HR Employee First Name and Two Last Names

hr_employee_lastnames folder_open OCA/hr open_in_new
Human Resources License: AGPL-3

This module allows you to add firstname and lastnames (Father an Mother Last Name) in employee form, and concatenate both in name field.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds separate First Name, Last Name and Second Last Name fields to employee records, automatically combining them into the full name and keeping contact details in sync.

This module extends the employee form so you can store a person's first name, father's last name and mother's last name in separate fields instead of one single name. On the employee form, a new 'Second last name' field appears right after the existing 'Last name' field.

When you type or change any of these three fields, Odoo automatically rebuilds the full name shown in the 'Name' field, following the name order configured in the system (for example, first name then last names, or last names then first name). If you instead type directly into the full name field, Odoo splits it back into the three separate parts.

When an employee is linked to a user or a home address contact, the first name, last name and second last name are also copied to that contact, so the contact record stays consistent.

During installation, the module clears the old first and last name values and re-reads all existing employee names to fill the new fields correctly. It also sets the default name order to 'first name then last names'.

This module works together with the employee first name and partner second last name modules, and it affects the hr.employee and hr.employee.base models.

Models and fields (2)
  • hr.employee · extends an existing model
  • hr.employee.base · extends an existing modellastname (Last name), firstname (First name), lastname2 (Second last name)

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 16.0
  • Go to Employees
  • On the employee form view you will have 3 separate fields, one for Firstname, second for Lastname, both required and Mother's Last Name (optional).

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.