OdooWiki OCA HUB

Partner address in two lines

partner_address_two_lines 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 13.0

This module changes how partner addresses are printed on reports: the company name and the contact name appear on two separate lines instead of one.

When you print a report that includes a partner's address (for example, a sales order, invoice, or delivery slip), the address block normally shows the company name and the contact name on the same line. This module makes them appear on two lines: the company name first, then the contact name below it.

The change is applied only during report rendering. It works by setting a special context flag when a report is generated, and then the partner name formatting method uses that flag to insert a line break between the company name and the contact name. Outside of reports, the address formatting remains unchanged.

This affects all reports that use the standard partner address rendering, so you will see the two-line layout on any printed document that shows a partner address. No new menus, buttons, or settings are added; the module works automatically once installed. It only modifies the behaviour of the res.partner model's contact name method and the report rendering context of ir.actions.report.

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 13.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 13.0

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