OdooWiki OCA HUB

Partner Contact address default

partner_contact_address_default folder_open OCA/partner-contact open_in_new
Generic Modules/Base License: AGPL-3

This module extends the functionality of base partner module to allow to set a default delivery and invoice address and a default contact for contacts.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you set a default shipping address, invoice address and default contact on a partner, so Odoo automatically uses them on sales, purchases and deliveries instead of guessing.

This module adds three new fields on the partner form: Shipping address, Invoice address and Default contact. You can fill them in on a company or on an individual contact.

  • On a contact, a "Force addresses" section appears where you can force the contact, delivery and invoice address for that specific contact. If you leave the fields empty, Odoo's normal behaviour applies.
  • When a document asks for an address (for example a delivery or invoice address), the module first looks at the address set on the partner itself, and if it is empty it falls back to the one set on the related company (the commercial partner).
  • By default the selectable addresses are limited to the partner's own child contacts and to contacts of the right type (delivery, invoice or contact).
  • In Settings, a new option lets you lift that restriction so that any contact can be chosen as default delivery, invoice or contact address.
  • If a contact that is used as a default address is archived, the module automatically clears it from the partners that referenced it, so no archived contact stays as a default.

The module touches res.partner, res.company and res.config.settings, and adds a setting under the partner autocomplete option in the general settings screen.

Depends on

base_setup
Models and fields (3)
  • res.company · extends an existing modelcontact_address_default_allow_all_partners
  • res.partner · extends an existing modelpartner_contact_id (Default contact), partner_invoice_id (Invoice address), partner_delivery_id (Shipping address), partner_contact_domain, partner_invoice_domain, partner_delivery_domain
  • res.config.settings · extends an existing modelcontact_address_default_allow_all_partners

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

Sources · Odoo 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Go to Settings.
  • Under Contact Category, enable Contact Address Default Allow All Partners to allow selecting any partner, instead of being limited to child contacts.
  • Go to Contacts.
  • Select default delivery address, invoice address or contact for partner.

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.