OdooWiki OCA HUB

Stock Dynamic Routing

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

Standard Stock Routes explain the steps you want to produce whereas the “Dynamic Routing” defines how operations are grouped according to their final source and destination location.

This allows for example:

  • To parallelize transfers in two locations of a warehouse, splitting them in two different operation type
  • To define pre-picking (wave) in some sub-locations, then roundtrip picking of the sub-location waves

Context for the use cases:

In the warehouse, you have a High-Bay which requires to place goods in a handover when you move goods in or out of it. The High-Bay contains many sub-locations.

A product can be stored either in the High-Bay, either in the Shelving zone.

When picking:

When there is enough stock in the Shelving, you expect the moves to have the usual Pick(Highbay)-Pack-Ship steps. If the good is picked from the High-Bay, you will need an extra operation: Pick(Highbay)-Handover-Pack-Ship.

This is what this feature is doing: on the High-Bay location, you define a "routing rule". A routing rule selects a different operation type for the move. The extra transfer will have the selected operation type, and be added dynamically, on reservation, before the chain of moves.

When putting away:

A put-away rule targets the High-Bay location. An operation Input-Highbay is created. You expect Input-Handover-Highbay.

You can configure a dynamic routing for the put-away on the High-Bay Location. The operation type of the new Handover move will the one of the matching routing rule, and its destination will be the destination of the operation type.

Notes about Odoo 18.0+

Compared to new Odoo dynamic push rules, here all steps are planned in advance. The move to the final destination always exists and the put-away has already been executed so that the final bin is already known. The intermediate step before reaching this final destination will also have it's put-away computed. As each step is planned in advance, you can also properly respect the operation shipping policy.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets warehouse managers define dynamic routing rules that automatically split, redirect or re-type stock moves based on the source or destination location, so goods passing through zones like a high-bay or handover area get the right operation type and extra transfer steps.

This module adds a new configuration screen called Dynamic Routing under Warehouse configuration. There, a manager picks a location and an operation type, then adds routing rules. Each rule is either a Pull rule (triggered by the source location of a move) or a Push rule (triggered by the destination location), and points to the operation type that should be used instead. A rule can also carry a filter on stock moves to limit when it applies.

When a transfer is reserved, Odoo checks each move against these rules. If a rule matches, the move's operation type and/or destination location are changed, and extra chained moves are created automatically so the goods pass through the required intermediate location (for example a handover area before entering or leaving a high-bay). Moves can be split when only part of the quantity needs a different route.

A validation prevents saving a Pull rule whose operation type does not start in the routing location (or a sub-location), and the same for Push rules on the destination side. The form shows a plain-language explanation of what each rule will do. If a transfer becomes empty after routing, it is automatically cancelled. Only Stock Managers can create or change routing configurations; other stock users can view them.

Depends on

stock

Menus it adds

menu_stock_routing
Models and fields (4)
  • stock.move · extends an existing model
  • stock.picking · extends an existing modelcanceled_by_routing
  • stock.routing · new modelactive, rule_ids (Routing Rules), sequence, location_id, picking_type_id (Operation Type), routing_message
  • stock.routing.rule · new modelmethod, sequence, routing_id, rule_domain (Source Routing Domain), location_src_id, picking_type_id, location_dest_id, routing_location_id, routing_picking_type_id

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

terminal Installation and usage

OCA documentation · Odoo 18.0

In Inventory Settings, you must have:

> - Storage Locations > - Multi-Warehouses > - Multi-Step Routes

A new menu in Inventory Settings allow to create new routing rules: "Stock Routing".

Create a new routing for a location, then pull or push routing rules. A pull rule is applied on moves with the same source location (or children). A push rule is applied on moves with the same destination location (or children).

Rules can exclude moves based on a domain. The order of the rules is important: the first to match is used.

Try on runbot

  • In Inventory Settings, activate:
  • Storage Locations
  • Multi-Warehouses
  • Multi-Step Routes

The initial setup in the demo data contains locations:

  • WH/Stock/Highbay
  • WH/Stock/Highbay/Bin 1
  • WH/Stock/Highbay/Bin 2
  • WH/Stock/Handover

The "Highbay" location (and children) is configured to:

  • create a pull routing transfer from Highbay to Handover when goods are taken from Highbay (using a new picking type Highbay → Handover)
  • create a push routing transfer from Handover to Highbay when goods are put to Highbay (using a new picking type Handover → Highbay)

Steps to try the Pull Routing Transfer:

  • In the main Warehouse, configure outgoing shipments to "Send goods in output and then deliver (2 steps)"
  • Inventory a product, for instance "[FURN_8999] Three-Seat Sofa", add 50 items in "WH/Stock/Highbay/Bay A/Bin 1", and nowhere else
  • Create a sales order with 5 "[FURN_8999] Three-Seat Sofa", confirm
  • You'll have 3 transfers; a new one has been created dynamically for Highbay -\> Handover.

Steps to try the Push Routing Transfer:

  • In the "WH/Stock" location, create a Put-Away Strategy with:
  • "[DESK0004] Customizable Desk (Aluminium, Black)" to location "WH/Stock/Highbay/Bay A/Bin 1"
  • "[E-COM06] Corner Desk Right Sit" to location "WH/Stock/Shelf 1"
  • Create a new purchase order of:
  • 5 "[DESK0004] Customizable Desk (Aluminium, Black)"
  • 5 "[E-COM06] Corner Desk Right Sit"
  • Confirm the purchase
  • You'll have 2 transfers:
  • one to move DESK0004 from Supplier → Handover and E-COM06 from Supplier → Shelf 1
  • one waiting on the other to move DESK0004 from Handover → WH/Stock/Highbay/Bay A/Bin 1 (the final location of the put-away)

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.