OdooWiki OCA HUB

Sale Partner Version

sale_partner_version folder_open OCA/sale-workflow open_in_new
Sale License: AGPL-3

This module uses the partner_address_version module to create a partner version when confirming a sale order.

By default, this module ensure that the address fields (Invoice Address, Shipping address) are immutable. This works by ensure that, whenever a sale order is confirmed, the address fields of the sale order will be copied (and immediately archived), so it will used by this sale order only.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

When a sales order is confirmed, this module freezes the customer's invoice and delivery addresses by making private copies for that order, so later changes to the customer record do not alter past orders.

This module changes what happens when you confirm a sales order in Odoo. Normally, the invoice address and delivery address on a sales order are simply links to the customer's current addresses; if someone later edits the customer's address, old orders change too.

With this module, at the moment of confirmation, Odoo creates a private copy of both the invoice address and the delivery address and attaches those copies to the sales order. The original customer record is left untouched. Because the copies belong only to that order, the addresses shown on the confirmed order stay exactly as they were when it was confirmed.

  • Applies to the sale.order model and its confirmation action.
  • Covers the fields partner_shipping_id (delivery address) and partner_invoice_id (invoice address).
  • Uses the address versioning feature from the partner_address_version module to make the copies.
  • Copies are reused within the same confirmation run, so the same address is not duplicated unnecessarily.

There are no new menus, buttons, reports or settings. The change is automatic and invisible except that confirmed orders keep their own frozen addresses. This is useful for keeping invoices and delivery documents historically accurate.

Models and fields (1)
  • sale.order · extends an existing model

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

Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.

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.