Skip to main content
iVentureTeam
Odoo Inventory & Logistics

Odoo Inventory Routes and Rules: Push, Pull, MTO and Fixes in 19/20

Odoo inventory routes and rules explained for 19 and 20: push vs pull rules, MTO, buy, resupply, cross-dock, rule priority and why a rule did not trigger.

Siddharth JambukiyaSiddharth JambukiyaOdoo Techno-Functional Consultant
November 19, 202614 min read2 views
Odoo Inventory Routes and Rules: Push, Pull, MTO and Fixes in 19/20 cover

Most route problems are not bugs. They come from a rule that never matches the location, a route that is not selectable, or a supply method that ignores stock. Our Odoo consulting services start by mapping those rules against your real flows.

Related service: Odoo for logistics — shipping, tracking and warehouse operations in one place.

This guide is for operations leads, warehouse managers and Odoo admins who need custom flows beyond the standard ones. For 1, 2 or 3-step receipts and deliveries, read our Odoo pick, pack and ship guide first, since those flows need no rule changes.

What are Odoo inventory routes and rules?

Odoo inventory routes and rules are the logic that turns demand or arrivals into stock moves. A route groups rules; a rule says what to create, from where, to where, and with which operation type.

Odoo's own routes and push/pull rules documentation describes routes as combinations of push and pull rules. Every rule has an action, an operation type, a source location and a destination location.

You will meet two kinds of Odoo routes:

  • Warehouse routes: generated from the warehouse's Incoming Shipments and Outgoing Shipments settings and applied to every product automatically.
  • Additional routes: Replenish on Order (MTO), Buy, Manufacture, Dropship, inter-warehouse resupply and any custom route you build. These must be applied to products, categories or other records.

To see Odoo multi-step routes at all, enable Multi-Step Routes and Storage Locations under Inventory, Configuration, Settings. Odoo warns that modifying its default rules may cause unexpected errors, so build new routes instead of editing generated ones.

How do Odoo push and pull rules differ?

Odoo Push vs Pull Rules: What triggers each rule?

Odoo push and pull rules differ in what triggers them: pull rules react to demand at a destination, while push rules react to goods arriving at a source. Most multi-step flows use both.

PointPull rulePush rule
TriggerDemand confirmed at the destinationGoods arrive at the source location
Typical source of demandSales order, MO, reordering ruleA validated receipt or transfer
CreatesFirst transfer, RfQ or MO in the chainThe next transfer in the chain
Needs an existing transferNoYes, it only fires after a move exists
Rule actionsPull From, Buy, ManufacturePush To
Combined optionPull & PushPull & Push

In a 3-step delivery, a pull rule creates the Pick from Stock to the Packing Zone when a customer order is confirmed. Push rules then move the goods from Packing Zone to Output and from Output to Customers, as Odoo's docs explain.

The rule of thumb: if nothing is ordered, pull rules do nothing; if nothing has arrived, push rules do nothing.

How does Odoo choose which route and rule to apply?

Odoo picks the first rule that can bring the product to the needed location, searching routes in a fixed order and sorting by sequence. Knowing this order explains most surprises.

According to Odoo's documentation, routes are checked in this order:

  1. Sales order line: a route set on the line, and if none, a route on the order's shipping method.
  2. Package type: a route on the package type of the packaging unit used on the line.
  3. Product and product category: routes on the product form and its category.
  4. Warehouse: the routes generated by the warehouse configuration.

Within those routes, Odoo's 19.0 rule search sorts candidates by route sequence and then rule sequence, so a lower sequence wins. If no rule matches the exact location, Odoo climbs to the parent location and tries again.

That last point matters. A rule targeting WH/Stock also serves WH/Stock/Shelf 1. A rule targeting WH/Stock/Shelf 1 does not serve WH/Stock. To check what applies without editing anything, click View Diagram next to the Routes field on the product form.

What does the supply method on an Odoo rule do?

The supply method decides whether a pull rule uses existing stock or asks another rule to bring stock in. It is the single setting that most often explains an unexpected purchase order or a stuck delivery.

Supply method (Odoo 19/20 label)What it doesTypical use
Take From StockReserves available stock at the source; nothing upstream is triggeredStandard deliveries, first step of a resupply
Trigger Another RuleIgnores stock and asks the next rule to supply the source locationMTO, chained multi-step flows
Take From Stock, if unavailable, Trigger Another RuleUses stock first, triggers another rule only for the shortfallMixed stock and order-driven items

The MTO route that Odoo creates uses Trigger Another Rule. That is why Odoo's Replenish on Order (MTO) guide says a replenishment order is always created when a sales order is confirmed, even if there is enough stock.

Each rule also has a Lead Time in days, added to the scheduled date of the transfer it creates, so long rule chains push dates out.

How do Buy, Manufacture and the Odoo MTO route work together?

MTO tells Odoo to ignore stock and procure per order, while Buy or Manufacture tells it how to procure. You need both on the product for an order-linked RfQ or MO.

As of Odoo 19.0, Buy and Manufacture are hidden from the product's Routes field by default. Odoo applies Buy automatically when the product has a vendor, and Manufacture when it has a bill of materials.

Worked example, illustrative: a furniture seller sells a made-to-measure desk it buys from one workshop.

  1. Enable Replenish on Order (MTO) in Inventory settings, in the Logistics section.
  2. On the desk, tick Replenish on Order (MTO) and add the workshop as vendor with a price.
  3. Confirm a sales order for 5 desks.
  4. The MTO pull rule (Stock to Customers, Trigger Another Rule) asks for 5 desks in WH/Stock.
  5. The Buy rule answers and creates an RfQ for 5 desks, linked to the order by a smart button.
  6. The receipt follows the warehouse's incoming steps, then the delivery becomes ready.

Two traps from Odoo's docs. If you cancel the MTO RfQ or MO, Odoo does not create a replacement, and a manual one cannot be linked back to the order. If you cancel the sales order, the delivery is cancelled but the RfQ or MO stays open with a warning.

To use stock when available, set the MTO rule to Take From Stock, if unavailable, Trigger Another Rule. Test on a copy first: it affects every product on that route.

How do you resupply one warehouse from another in Odoo?

Tick the central warehouse in the shop warehouse's Resupply From field, then use the generated route with MTO or a reordering rule. This is the standard Odoo resupply from another warehouse setup.

Odoo's inter-warehouse replenishment guide explains that each site must be its own warehouse. Ticking Resupply From creates a route named "X: Supply Product from Y".

Worked example, illustrative: a Central warehouse (CWH) feeds a Shop warehouse (SHOP).

  1. On SHOP, Warehouse Configuration tab, tick CWH in Resupply From.
  2. On the product, tick the route SHOP: Supply Product from CWH.
  3. Create a reordering rule on SHOP/Stock with that route, Min 5 and Max 20.
  4. When the SHOP forecast drops to 5, Odoo creates a transfer out of CWH through the inter-warehouse transit location, and a receipt into SHOP.

The part most tutorials skip: in Odoo 19's warehouse code, the first rule of a resupply route, leaving the supplying warehouse, is Take From Stock. A shortage at CWH buys nothing on its own.

Give CWH its own reordering rule with Buy, or the shop transfer sits waiting for stock. Our guide on Odoo reorder rules and safety stock covers how to size those levels.

Odoo 20 extends this across companies. Our Odoo 20 inventory release notes show that Resupply From now accepts warehouses of other companies, with a route through the Inter-company transit location.

How do you set up an Odoo cross dock flow in 19 and 20?

In Odoo 19 and 20, cross-docking means building a custom route that moves goods from Input straight to Output, using the warehouse's Cross Dock operation type. Older versions created this route for you.

In Odoo 17 and 18, the warehouse record had a Crossdock route. In the 19.0 source code, that route field is gone, while each warehouse still gets a Cross Dock operation type (prefix XD) that runs from Input to Output.

Worked example, illustrative, for a distributor that ships some imports without storing them:

  1. Set the warehouse to 2-step receipts and 2-step deliveries so the Input and Output locations are active.
  2. Create a route named Cross-dock, applicable on Products, and tick it only on cross-docked items.
  3. Add a Pull From rule: Output to Customers, Delivery Orders, supply method Trigger Another Rule.
  4. Add a Pull From rule: Input to Output, Cross Dock operation type, Trigger Another Rule.
  5. Add a Buy rule with destination Input, so the vendor receipt lands where the cross dock starts.
  6. Give the route a lower sequence than the warehouse routes, then test on staging.

On the Odoo forum, a user whose cross dock sales order would not confirm got the error "No rule was found to replenish" in Inter-warehouse transit. The fix was the delivery warehouse setting, not the route itself.

For locations, putaway and barcode flows around the dock, see our Odoo WMS guide for Odoo 19 and 20.

What changed for Odoo routes in Odoo 20?

Odoo 20 makes push rules location-aware and opens resupply routes across companies. If you run custom code on stock moves, review it before you upgrade.

  • Location-specific push routes: push rules are now chosen per move line, from the sub-location where each line lands. Goods received in Gate A can go to Shelf 1 while goods in Gate B go to Shelf 2.
  • Intercompany resupply: a warehouse can resupply from another company's warehouse, and a sales order can ship from another company's warehouse.
  • Replenishment dashboard: Order and Order To Max merged into one Order button that tops the forecast up to Max.
  • Suggested min and max: Odoo can suggest reordering levels from demand history and days of coverage.

Our release notes also flag that custom code assuming one push rule per move must be revised before a 19 to 20 upgrade.

Why did my Odoo rule not trigger? A debugging checklist

When a rule does not fire, check location, visibility, supply method and sequence, in that order. The error message "No rule has been found to replenish" means Odoo found no pull rule for that product and location.

  1. Read the location in the error. If it names Inter-warehouse transit, the supplying warehouse's leg is missing, as in this Odoo forum transit location thread.
  2. Check the reordering rule location. In one forum thread on auto replenish not working, the advice was to confirm the rule sits on the exact sub-location.
  3. Check the route is selectable and ticked. A route not applicable on Products or Categories cannot be selected on the form.
  4. Open View Diagram on the product. It shows every route and rule Odoo will consider.
  5. Check the supply method. Take From Stock waits for stock; Trigger Another Rule needs a rule upstream.
  6. Check sequences. A warehouse route with a lower sequence can win over your custom one.
  7. Check company and warehouse fields on the rule. A rule limited to another company or warehouse is ignored.
  8. Remember push rules need a move. They never fire from demand alone.
SymptomLikely causeFirst fix
No rule found in transit locationSupplying warehouse leg missingRecheck Resupply From and the route rules
RfQ created although stock existsMTO rule uses Trigger Another RuleSwitch that route to stock-first, or drop MTO
Shop transfer waits foreverCentral warehouse has no stock and no ruleAdd a Buy reordering rule on the central warehouse
Custom route ignoredHigher sequence or not appliedLower the sequence, tick it on the product
Goods stop at InputMissing push rule from InputFix the incoming steps on the warehouse

Which Odoo routes fit which industry?

The right Odoo routes depend on whether you sell from stock, buy to order or move goods between sites. The table shows typical patterns.

IndustryPain or cost driverOdoo approachHow iVentureTeam helps
Wholesale and tradingOverstock on slow itemsMTO with stock-first supply for long-tail SKUsMap SKUs to routes, tune supply methods
Logistics and 3PLHandling time at the dockCustom cross-dock route, Input to OutputBuild and test the route on staging
Multi-branch retailStock-outs in shopsResupply From plus reordering rulesSet shop and central reorder levels
Make-to-order manufacturingWrong stock reservedMTO plus Manufacture, linked MOsAlign BoMs, routes and lead times
ImportersGoods in transit not visibleTransit location and receipt stepsDesign the import flow and valuation

Trading companies can go deeper with our guide on Odoo for trading companies. Importers should read Odoo transit warehouse for EXW and FOB imports. Our Odoo ERP for logistics page shows the 3PL view.

How iVentureTeam helps with Odoo inventory routes and rules

Planning new routes? Size the project

We design routes from your real flows, test them on a staging copy, and document why each rule exists. We have delivered 150+ ERP projects across 35+ countries with 40+ Odoo specialists, led by a consultant with 13+ years in Odoo.

  • Flow mapping: every product family mapped to stock, MTO, buy, manufacture, resupply or cross-dock.
  • Route build: custom routes, sequences and supply methods, without editing Odoo's generated rules.
  • Debugging: we trace "No rule has been found" errors to the exact location, route and rule.
  • Upgrade checks: route and push-rule code reviewed for the Odoo 20 per-line push change, with Odoo customization services when code must change.
  • Sizing: get an indicative budget with our Odoo project estimate tool.

Odoo inventory routes and rules case study: KMF Technologies

An IT hardware distributor in The Gambia moved from manual product tracking to live stock across warehouses in Odoo. Clean warehouses and locations are what every route depends on.

KMF Technologies tracked products and categories by hand. It had no real-time stock view, which led to overstocking and stock-outs, and sales, purchase and store teams could not see each other's data.

We ran a seven-phase rollout over 8 weeks. We configured Sales, Purchase, Inventory and Accounting, and defined warehouses, product categories, stock locations and units of measure, then migrated the full product master with integrity checks.

KMF now runs an integrated purchase-to-delivery workflow with real-time stock across warehouses. Read the KMF Technologies Odoo inventory case study.

The bottom line on Odoo inventory routes and rules

Keep standard flows on the warehouse settings, and use custom routes only for real exceptions such as MTO, resupply and cross-dock. Then check location, supply method and sequence whenever a rule misbehaves.

Clean setups have few custom routes, each with one documented purpose, tested on a copy and reviewed before every upgrade.

Ready to fix your Odoo routes?

Book a routes review

Get a route review from consultants who debug Odoo inventory flows every week. Ask for an Odoo routes and rules review, call +91-90235-15208, or email business@iventureteam.com.

Frequently Asked Questions

What is the difference between a route and a rule in Odoo?

+

A rule is one step: an action, an operation type, a source and a destination. A route is a group of rules that together describe a full flow, such as buy then receive, or pick then deliver.

What is a push rule in Odoo?

+

A push rule moves goods onward as soon as they arrive at its source location. It only fires once a transfer already exists, for example after a receipt into Input is validated.

What is a pull rule in Odoo?

+

A pull rule is triggered by demand at its destination, such as a confirmed sales order or a reordering rule. It creates the first transfer, RfQ or MO needed to bring stock there.

Why does Odoo say no rule has been found to replenish?

+

Odoo found no pull rule that can bring the product to the location named in the error. Check that the route is ticked on the product, covers that location, and is not limited to another company.

Does the MTO route ignore stock on hand?

+

Yes, by default. Odoo's MTO rule uses Trigger Another Rule, so a PO or MO is created for every confirmed order even when stock exists. Switch the rule to stock-first if you want stock used.

How do I make Odoo use my custom route instead of the default?

+

Apply the route on the product, category or order line, and give it a lower sequence than competing routes. Then check View Diagram on the product to confirm which rules apply.

Is there a cross dock route in Odoo 19?

+

Not as a ready-made warehouse route. Odoo 19 and 20 keep a Cross Dock operation type from Input to Output, and you build a custom route with pull rules that uses it.

Can one warehouse automatically resupply another in Odoo?

+

Yes. Tick the supplying warehouse in Resupply From, apply the generated route, and use MTO or a reordering rule. The supplying warehouse still needs its own rule to buy stock.

What changed for routes in Odoo 20?

+

Push rules are now chosen per move line, based on the sub-location each line lands in. Warehouses can also resupply from other companies' warehouses through an inter-company transit location.

Free written answer from a certified consultant

Getting stock under control in Odoo?

Tell us how stock moves through your business. We map warehouses, routes and replenishment in Odoo and show what to configure first.

Free, with no obligation. A senior consultant replies within 12 business hours.

We use cookies to improve your experience

Essential cookies make the site work, and we use analytics to improve it. Choose “Only necessary” to turn analytics off. See our cookie policy.