OdooWiki OCA HUB

Sale Order Warehouse from Delivery Carrier

sale_order_warehouse_from_delivery_carrier folder_open OCA/delivery-carrier open_in_new
Delivery License: AGPL-3

This module allows to set warehouse in Sales Order based on selected shipping method.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you link a default warehouse to each delivery carrier, so draft sales orders using that carrier automatically get that warehouse.

This module adds a new field called "Sales Order Warehouse" on delivery carriers. You set it once per shipping method, choosing which warehouse should be used by default for sales orders that select that carrier.

Where it appears: - On the delivery carrier form (Shipping Methods), a new "Sales Order Warehouse" field is shown next to the carrier's product. - On sales orders, the warehouse is filled in automatically when the order is still in draft state and a carrier with a configured warehouse is selected.

Automatic behaviour: - When a draft sales order has a delivery carrier whose "Sales Order Warehouse" is set, the order's warehouse is replaced by that carrier's warehouse. - If the order is not in draft, or the carrier has no warehouse configured, Odoo keeps its normal warehouse logic. - The warehouse is recalculated when the salesperson, company or carrier changes on the order.

It touches the delivery.carrier and sale.order models and relies on the standard warehouse field of sales orders provided by the sale_stock module. No new menus, reports or scheduled actions are added.

Depends on

sale_stockdelivery
Models and fields (2)
  • sale.order · extends an existing model
  • delivery.carrier · extends an existing modelso_warehouse_id (Sales Order Warehouse)

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: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/delivery-carrier.

terminal Installation and usage

OCA documentation · Odoo 18.0

Go to Sales -\> Settings -\> Shipping methods and select a shipping method

Set warehouse in the "Sales Order Warehouse" field.

Create a new quotation and select a shipping method.

If selected shipping method has a sales order warehouse defined this warehouse will be automatically set in the quotation.

Note: The warehouse will NOT be updated if the sales order is already confirmed.

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.