OdooWiki OCA HUB

Partner First Name and Last Name - Portal

partner_firstname_portal folder_open OCA/partner-contact open_in_new
Extra Tools License: AGPL-3

This module is a glue module installed when OCA partner_firstname module and Odoo portal module are installed.

This allows the customer to edit their first and last names, once logged.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets logged-in portal customers edit their first and last name separately on the My Account page, instead of a single name field, and keeps the name in sync with the partner record.

This is a small glue module that makes the OCA first/last name feature work on the customer portal. Once a customer is logged in, the My Account page shows separate "First Name" and "Last Name" boxes for individuals, while companies keep the usual single name field.

  • The portal account form now displays a read-only Individual/Company indicator, so customers can see their type but cannot change it (changing it could cause problems with invoices).
  • For individuals, the single name field is hidden and replaced by First Name and Last Name fields; for companies, the company name field is shown and the first/last name fields are hidden.
  • Which fields are mandatory follows the configuration of the first/last name module: depending on that setting, first name, last name, or both may be required. If the setting is "no", the customer must still fill in at least one of the two, otherwise an error message asks them to enter a first or last name.
  • When a customer saves the form, the combined name is not overwritten, so the separate first and last names are preserved on the contact record (res.partner).

The module touches the contact model res.partner and the portal account page, and is installed automatically when both the first/last name module and the portal are present.

Depends on

Models and fields (1)
  • res.partner · extends an existing model

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: 1 confirmed, 8 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

No verified information

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.

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.