hr_employee_firstname
Provide separate first and last name fields for employees while keeping their full name consistent across HR records.
Key Features
- hr.employee: Adds editable firstname and lastname fields and automatically composes the employee's display name following the configured order whenever records are created or updated.
- hr.employee: Splits legacy combined names into firstname and lastname, cleans whitespace, and enforces that at least one of the two values is always provided.
- hr.employee: Synchronizes linked user and work contact partners' firstname and lastname when the partner_firstname module is installed so partner data stays aligned with employees.
- installation: Post-init hook scans existing employees and populates the new firstname and lastname fields based on their current name values.
- res.config.settings: Adds a system parameter allowing administrators to choose between multiple ordering formats used when composing employee names.
- hr.employee.base: Exposes firstname and lastname fields on the shared employee base model so downstream HR models inherit the split-name capability.