Skip to main content

Inventory Management

The Magento 2 Connector provides real-time inventory synchronization between Odoo and Magento, ensuring stock levels are always accurate across both platforms.

Accessing Inventory

Navigate to Magento > Inventory to view the inventory synchronization dashboard.

Magento Inventory view

Inventory List View

The inventory view displays stock information for all synced products:

ColumnDescription
Stock StatusCurrent stock status (In Stock, Out of Stock)
Magento Product IDThe product ID in Magento
ProductProduct reference code in Odoo
SKUProduct SKU
InstanceThe Magento instance this inventory record belongs to
AvailableCurrent available quantity
Last SyncDate and time of the last inventory sync

Example Data

Stock StatusMagento Product IDProductSKUInstanceAvailableLast Sync
In Stock1carcarsdlc13.0002/11/2026 10:30:04
In Stock220000earsdlc100,000.0002/11/2026 10:30:04
In Stock9550Watchsdlc15.0002/11/2026 10:30:04
In Stock101000bottlesdlc23.0002/11/2026 10:30:04

Refresh Inventory

Click the Refresh Inventory button (green button in the toolbar) to manually trigger an inventory sync. This will:

  1. Query the Magento API for current stock levels of all products.
  2. Update the inventory view with the latest quantities and stock statuses.
  3. Compare Magento stock levels with Odoo's qty_available to identify discrepancies.
tip

Use the Refresh Inventory button after making bulk stock adjustments in either system to immediately verify the sync.

Stock Status

Products are classified into two stock statuses:

StatusMeaning
In StockProduct has available quantity greater than zero and is saleable
Out of StockProduct quantity is zero or below the minimum threshold

Inventory Sync Behavior

Odoo to Magento

  • When stock levels change in Odoo (via sales, purchases, inventory adjustments, or manufacturing), the updated quantities can be pushed to Magento.
  • The sync uses Odoo's qty_available field as the source of truth.

Magento to Odoo

  • When inventory is updated in Magento (via admin panel, imports, or POS), the quantities are pulled into Odoo during the next sync.
  • Magento's quantity_and_stock_status attribute is used.
warning

If inventory is managed in both systems simultaneously, conflicts may arise. It is recommended to designate one system as the primary inventory manager and sync in one direction to avoid discrepancies.

Auto Inventory Sync

Inventory can be included in the auto-sync scope. When enabled:

  • Stock levels are synchronized at the configured cron interval.
  • Both stock quantities and stock status are updated.
  • Sync results are logged in the Sync Reports.

See Auto Sync Cron Jobs to configure automatic inventory synchronization.

Best Practices

  1. Designate a primary system -- Choose either Odoo or Magento as the primary inventory management system to avoid conflicts.
  2. Sync frequently -- For high-volume stores, sync inventory at least every hour to prevent overselling.
  3. Monitor out-of-stock -- Regularly check the inventory view for products with zero quantity.
  4. Reconcile periodically -- Compare inventory levels between both systems monthly to catch any drift.

Next Steps