6 min read•Updated: 2026-11-24

Inventory & Multi-Warehouse Sync in Odoo

Synchronize available-to-promise inventory quantities, multi-warehouse routing, and inventory oscillation suppression.

Forecasted vs. On-Hand Inventory

A critical challenge in e-commerce is preventing overselling of items reserved by in-progress orders awaiting delivery.

ERP Link synchronizes inventory based on Odoo's authoritative Forecasted Quantity (`virtual_available`):

$$\text{Store Display Quantity} = \text{Physical On-Hand Quantity} - \text{Reserved Sales Order Quantities}$$

As a result, as soon as an order confirms, stock reservations deduct immediately from available catalog quantities.

Multi-Warehouse Routing

For businesses operating multiple distribution hubs (e.g. Riyadh Central Warehouse, Jeddah Branch):

  • Assign default warehouses per storefront in Order Settings.
  • For Zid and Salla, the engine updates branch-level stock balances.
  • When sales orders confirm, warehouse delivery pickings (stock.picking) allocate stock from the designated stock.location.

Oscillation Suppression & Loop Guards

Pushing an inventory balance from Odoo to your store can trigger an upstream store product.update webhook, risking an infinite sync loop.

ERP Link implements an automated Oscillation Guard:

  • Retains a hash of the last transmitted inventory quantity.
  • Inbound webhooks reflecting identical values are identified as self-originated echo events and safely ignored.

Stock Discrepancy Diagnostics

  • Store displays different quantities than Odoo physical on-hand:

* *Check:* Inspect Odoo's Forecasted Quantity vs. On Hand. Unshipped confirmed sales orders reserve units, reducing available store inventory.

Encountered an issue applying this guide?

Open a support ticket to have our engineering desk inspect logs directly.

Contact Support
    Inventory & Multi-Warehouse Sync in Odoo | ERP Link Docs | ErpLink