Skip to main content

Odoo Inventory Sync with Shopify, Amazon and WooCommerce

According to ECOSIRE, Inventory sync between Odoo and an online store runs as scheduled jobs inside Odoo, and each job moves stock in one direction. With ECOSIRE's connectors, by default Shopify's job brings store stock into Odoo every 10 minutes, and Odoo pushes to Shopify every hour once the store's push toggle is on; WooCommerce's job pushes Odoo's on-hand stock to the store every 15 minutes, switched on from install; Amazon's job brings FBA stock levels into Odoo every 15 minutes. Every interval can be changed within the marketplace's API rate limits.

The Problem

  • A sale on one channel is not reflected on the others, so the same last unit is sold twice
  • Stock is counted by hand or copied between systems, so the numbers drift between counts
  • Several warehouses or a marketplace-run warehouse (Amazon FBA) hold stock that Odoo has to account for separately
  • Shortening every sync interval to "as fast as possible" runs into the marketplace's API rate limits and stalls the sync

The Solution

Each ECOSIRE connector installs scheduled actions in Odoo, each moving inventory in one direction on a fixed interval, and writes every run to a log you can read. The Shopify connector leaves its Odoo-to-Shopify writes switched off until you turn them on for that store. The Amazon and WooCommerce connectors ship with inventory sync switched on, so set up the mapping before you connect a live store.

Default sync intervals by connector

These are the intervals each connector installs, taken from its published documentation. They are a starting point: a store with a few hundred orders a day and one with a few thousand need different settings.

  • Shopify Store Management: Shopify stock brought into Odoo every 10 minutes; Odoo stock pushed to Shopify every hour once the store's push toggle is on; delist and relist by stock every 15 minutes
  • Amazon Store Management: FBA stock levels brought into Odoo every 15 minutes, or Manual, Every Hour, Every 6 Hours or Daily from the import wizard
  • WooCommerce Store Management: Odoo's on-hand stock pushed to the store every 15 minutes, switched on from install

What to set up before you switch it on

The Shopify connector installs its Odoo-to-Shopify jobs switched off at store level, so a fresh install never writes to a live store by itself. Use that window to check the mapping first. The Amazon and WooCommerce connectors work differently: their inventory sync is switched on from install, so finish the mapping before you connect a live store. On WooCommerce that job pushes Odoo's on-hand quantity to every store product that manages stock.

  • Every listing linked to exactly one Odoo product, by SKU
  • The Odoo stock locations that may sell on each channel, and the ones that may not (returns, quarantine, other companies)
  • Stock held in a marketplace-run warehouse, such as Amazon FBA, kept apart from your own on-hand quantity
  • One initial import only; if a first import stopped part-way, check the existing records before running it again

When the numbers disagree

Each sync run writes to the connector log with the platform's own error text. Rate limiting and rejected field values are the two common causes of a run that starts and stops part-way. A listing that shows the wrong quantity is usually a mapping problem, and a store where nothing moves at all is usually a disabled scheduled action or a cron worker that is not running.

How It Works

  1. 1

    Install the connector for each channel

    Add the Shopify, Amazon or WooCommerce connector for your Odoo version and connect the store with its API credentials or OAuth.

  2. 2

    Map products and locations

    Link each store listing to its Odoo product, and on Shopify set up the store's locations in the connector configuration. On WooCommerce, an order line for a product that is not yet in Odoo creates a product carrying the store's SKU and product id, so review those products after the first import.

  3. 3

    Check the stock writes

    Check the per-store toggles before anything writes to a live store. On Shopify, the hourly push of Odoo stock to Shopify ships switched off, together with automatic delisting and relisting by stock. On WooCommerce, the 15-minute job that pushes Odoo's on-hand stock to the store ships switched on. On Amazon, inventory sync ships switched on and its 15-minute job brings FBA stock levels into Odoo.

  4. 4

    Tune the intervals and read the logs

    Keep the shipped intervals or change them under Settings, Technical, Scheduled Actions, and use the connector logs to confirm each run.

Frequently Asked Questions

How often does inventory sync between Odoo and Shopify?

With the shipped defaults, the Shopify Store Management connector brings Shopify stock into Odoo every 10 minutes, pushes Odoo inventory to Shopify every hour once the store's push toggle is on, and checks every 15 minutes whether listings should be delisted or relisted by stock. Every interval is a normal Odoo scheduled action you can change.

How often does inventory sync for Amazon and WooCommerce?

Both connectors ship with a 15-minute inventory job, switched on from install, and the two run in opposite directions. Amazon's job brings FBA stock levels into Odoo every 15 minutes and stores them on the product's FBA Quantity field; on Amazon you can also set the sync frequency on the import wizard (Manual, Every Hour, Every 6 Hours or Daily). WooCommerce's job pushes Odoo's on-hand stock to the store every 15 minutes, for every store product that manages stock.

Can I make it faster than the defaults?

Yes, by shortening the scheduled action, but the marketplace sets the API rate limits, not Odoo. The connector documentation names a shortened interval as the usual cause of throttling errors in the logs, so shorten one interval at a time and read the log after each change.

Does it support several warehouses?

Odoo holds stock per warehouse and location, and the Shopify connector has its own Locations configuration for the store's locations. For Amazon and WooCommerce, agree which Odoo locations feed each store during setup, and keep FBA stock separate from your own on-hand quantity.

Why is nothing syncing even though the connection test passes?

Usually the scheduled actions are disabled or Odoo's cron worker is not running. Check Settings, Technical, Scheduled Actions, and that Odoo runs with --max-cron-threads above zero.

Learn more

Sources

Ready to Solve This?

Browse the apps behind this workflow and ask us for a live demo before you buy. We do not ship trial installs.

Get Started