HR Employee First Name and Two Last Names
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 19.0Adds a 'Second last name' field to employee records, so you can store first name, father's last name and mother's last name separately. The full name is built automatically from these three parts.
This module extends the employee form to include a third name field: 'Second last name'. It works together with the 'HR Employee First Name' module, which already splits the name into first name and last name.
On the employee form, you will see three fields: First name, Last name and Second last name. When you fill them in, the main 'Name' field is automatically updated by joining the parts according to the name order configured in Odoo (for example, first name then last names, or last names then first name).
If you type directly in the 'Name' field, the module tries to split it back into the three parts. This also happens when you update an employee's name through other means.
When an employee is linked to a user or a home address, the first name, last name and second last name are also copied to the related contact record.
During installation, the module processes all existing employees: it clears the first and last name fields and then re-splits the full name into the three parts. It also sets the default name order to 'first name then last names'.
The second last name is also available on the public employee model, so it can be used in places where public employee information is shown.
Depends on
Models and fields (2)
- hr.employee · extends an existing modellastname (Last name), firstname (First name), lastname2 (Second last name)
- hr.employee.public · extends an existing modellastname2
Text generated by AI (DeepSeek) from reading the Odoo 19.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-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/hr.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.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.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.