OdooWiki OCA HUB

Delivery Procurement Group Carrier

delivery_procurement_group_carrier folder_open OCA/stock-logistics-workflow open_in_new
Warehouse Management License: AGPL-3

This is a base module that propagates the SO carrier to the procurement group.

Having the carrier on the procurement group allows to apply different routing for each carrier thanks to the dynamic routing. A rule domain can then be expressed based on the delivery carrier. See the module stock_dynamic_routing in OCA/wms.

The carrier on the procurement group is also used for grouping several SO in a same delivery by carrier. See the module stock_picking_group_by_partner_by_carrier in this repository.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Stores the delivery method (carrier) chosen on a sales order in the procurement group, so that delivery routing rules and picking grouping can use the carrier. It also keeps the carrier consistent across related transfers.

This module links the delivery method selected on a sales order to the procurement group that Odoo creates behind the scenes for that order. The carrier is copied from the sales order onto the procurement group when the group is prepared, and it is shown on the procurement group form (visible only to technical users).

When new transfers are created from stock moves, the carrier is copied onto the transfer only if the applicable stock rule is set to propagate the carrier. If a user changes the delivery method on a transfer, the module updates the procurement group and aligns other open transfers of the same group to the same carrier, skipping cancelled and completed ones.

It also handles returns: when a return transfer is created, a procurement group is reused or created, and the carrier is cleared on the new group. Putting a sales order back to draft clears its procurement group link.

This touches sales orders, sales order lines, procurement groups, stock moves, transfers and the return picking wizard. It is a base module: it does not add menus or reports by itself, but it enables other modules to route and group deliveries by carrier.

Depends on

sale_stockstock_delivery
Models and fields (6)
  • sale.order · extends an existing model
  • stock.move · extends an existing model
  • stock.picking · extends an existing model
  • sale.order.line · extends an existing model
  • procurement.group · extends an existing modelcarrier_id (Delivery Method)
  • stock.return.picking.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 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/stock-logistics-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.