OdooWiki OCA HUB

Sale Order Carrier Auto Assign

sale_order_carrier_auto_assign folder_open OCA/sale-workflow open_in_new
Operations/Inventory/Delivery License: AGPL-3

This module assigns automatically delivery carrier on sale order create or confirmation.

You may also have a look at the module delivery_auto_refresh in delivery-carrier repository that assigns the carrier on creation and automatically refresh the cost line while editing the sales quotation.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Automatically fills in the delivery carrier (shipping method) on sales orders, either when the quotation is created or when it is confirmed, based on company settings.

This module adds two company-level options in the Sales settings that control how the shipping method is chosen on quotations and sales orders.

  • "Set default shipping method automatically" (carrier_on_create): as soon as a customer or delivery address is set on a quotation, or a product line is added or changed, Odoo looks up the carrier configured on the delivery address (or its commercial partner) and fills the shipping method in, without creating the delivery cost line yet.
  • "Assigns automatically delivery carrier on sale order confirmation" (carrier_auto_assign): when the sales order is confirmed, Odoo assigns the carrier and also creates the delivery cost line using the carrier's rate.

Both options are per company and are found in the Sales settings screen. The module only acts on quotations and sales orders that are not entirely made of services, and it does not overwrite a carrier that was already set or a delivery line that was already computed. It touches the sales order, its lines, the company settings and the delivery carrier configuration.

Depends on

delivery
Models and fields (4)
  • sale.order · extends an existing model
  • res.company · extends an existing modelcarrier_on_create, carrier_auto_assign
  • sale.order.line · extends an existing model
  • res.config.settings · extends an existing modelcarrier_on_create, carrier_auto_assign

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

Sources · Odoo 17.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Go to Settings > Sales > Shipping.
  • Enable on creation: only the carrier will be set when changing partner.
  • Enable on confirmation: the carrier and delivery line will be set.

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.