OdooWiki OCA HUB

Sale Stock Sourcing Address

sale_stock_sourcing_address folder_open OCA/sale-workflow open_in_new
Sales Management License: LGPL-3

This module computes the sourcing address in sales order lines and customer invoice lines. The address is obtained in the sales order, calculating the potential procurement rules that would be required for each line.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Shows, on each sales order line and invoice line, the address of the warehouse that will actually supply the goods. This helps users see where a delivery will be sourced from before confirming the order.

When you add a product to a sales order, Odoo normally decides which warehouse or route will supply it. This module makes that decision visible: each sales order line gets a "Sourcing Address" field showing the address of the warehouse that would be used to fulfil the line.

The value is recalculated automatically whenever you change the product, the route, the warehouse or the order on a line. It works by asking Odoo's procurement rules which rule would apply for the customer's delivery address, and then taking the address of the warehouse linked to that rule.

  • On sales orders, the Sourcing Address appears in the order lines list and in the detailed line form, right after the Route field.
  • On customer invoices, the Sourcing Address is shown on each invoice line, taken from the related sales order line.
  • The Order's Warehouse is also available on sales order lines and invoice lines.

Visibility is controlled by a dedicated user group called "Display Sourcing Address in Sales Order and Invoice lines". Users who are not in that group will not see the field on sales orders and invoices.

The module extends sale.order.line and account.move.line and adds views on sales orders and invoices. It does not create new menus or reports.

Depends on

sale_stock
Models and fields (2)
  • sale.order.line · extends an existing modelwarehouse_id (Order's Warehouse), sourcing_address_id (Sourcing Address)
  • account.move.line · extends an existing modelwarehouse_id (Order's Warehouse), sourcing_address_id (Sourcing Address)

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 12.0

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

terminal Installation and usage

OCA documentation · Odoo 13.0

Users wishing to view the sourcing address in the sales order and invoice line tree views should be added to the group "Display Sourcing Address in Sales Order and Invoice lines".

No verified information in OCA: Installation, Usage.

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.