OdooWiki OCA HUB

Sale Sourced by Line

sale_sourced_by_line folder_open OCA/sale-workflow open_in_new
Warehouse License: AGPL-3

Multiple warehouse source locations for Sale order

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you choose a different source warehouse on each sales order line, so one order can be fulfilled from several warehouses. The order keeps a default warehouse used when a line has none.

This module adds a warehouse choice directly on the lines of a sales order, so a single order can be sourced from more than one warehouse.

  • On the sales order form, a new column shows the warehouse of each line. It can be edited while the order is in draft or quotation state, and becomes read-only once the order is confirmed.
  • The order itself carries a "Default Warehouse" field. If a line has no warehouse selected, this default is used for that line.
  • When a line is created, the warehouse is filled in automatically from the line's route, the order's default warehouse and the product, but only if the line does not already have one.
  • Lines are grouped into separate procurement groups based on their warehouse, so each warehouse gets its own delivery/procurement handling. The group name is suffixed with the warehouse name when the grouping is driven by the warehouse.
  • The chosen warehouse is passed on to the stock moves and procurement values generated from the line, so the goods are taken from the right place.

It touches sale.order and sale.order.line and works together with the module that groups procurements by line. No new menus or reports are added; everything appears inside the existing sales order screen.

Required by other modules

Models and fields (2)
  • sale.order · extends an existing modelwarehouse_id (Default Warehouse)
  • sale.order.line · extends an existing model

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

Sources · Odoo 18.0

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