OdooWiki OCA HUB

Partner Display Name Line Break

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

This module changes the reports layout. The company partner and the partner name are on two different lines.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

This module makes partner names appear on two separate lines in printed reports, splitting the company name from the contact name. It only affects report output, not the names shown on screen.

When you print a report that shows a partner's address, the full name is normally displayed on a single line, for example "My Company, John Doe". This module changes that layout so the company name and the contact name are placed on two different lines, which is easier to read on invoices, delivery slips and other printed documents.

The change is applied only while a report is being generated. The module extends the report engine so that, during rendering, the partner records are loaded with a special context flag. When that flag is active, the partner's displayed name is recomputed and the comma that separates the company name from the contact name is replaced by a line break.

  • The split happens only in reports; normal screens and lists keep the usual single-line name.
  • The behaviour is triggered automatically by the report rendering process, so users do not need to configure anything.
  • It relies on the standard partner display name computation, so it respects the usual address, email and VAT display options.
  • It touches the res.partner model and the report action model ir.actions.report.

No new menus, buttons or settings are added. The module is installed and the report layout changes immediately.

Depends on

base
Models and fields (2)
  • res.partner · extends an existing model
  • ir.actions.report · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 17.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 17.0

Confirmed on 2026-11-03 in branch 17.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.