OdooWiki OCA HUB

Partner Middle Name

partner_middlename folder_open OCA/partner-contact open_in_new
Partner Management License: AGPL-3

Allows to enter contact names using three separate fields, for First name, Middle Name and Last Name.

NOTE: currently this feature is incompatible with te Partner Second Last Name (partner_second_lastname), please don't install them together in the same database.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a separate Middle Name field to contacts and users, so full names can be stored and displayed as first, middle and last name parts.

This module extends the contact name splitting already provided by the First Name module by adding a third part: Middle Name.

  • On contact forms (both the simple and the full partner form, including the inner form used for child contacts) a new Middle Name field appears between the first and last name fields.
  • On the user form the same Middle Name field is added.
  • The full name shown in Odoo is automatically rebuilt from the three parts, following the name order configured in the system (first-last, last-first or last-first with a comma).
  • When you type a full name directly, the module tries to split it back into first, middle and last name parts.
  • At least one of the three name fields must be filled for a contact; the required flags adjust automatically so that you cannot save a contact with no name at all.
  • Companies keep their whole name in the last name field, as before.

It touches the res.partner and res.users models and the related contact and user screens. Note that it is not compatible with the Partner Second Last Name module and should not be installed together with it.

Models and fields (1)
  • res.partner · extends an existing modelmiddlename (Middle Name)

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 18.0

At Settings / General Settings / Partner Names Order, select option "Firstname Middlename Lastname" or " Lastname, Firstname Middlename".

On the Contact form, create a new contact.

  • Set contact to "Individual". The full name will not be directly editable.
  • Set all or any of the First Name, Middle name and Last Name fields.
  • The full name should be automatically populated based on the name fields set, and the general setting selected.

No verified information in OCA: Installation.

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.