Synco
Product

Inventory Sync

Configure inventory synchronization between Odoo and Shopify with instant or periodic sync options.

Recommended Inventory Settings

For best results, keep your product sync flow and inventory sync direction the same. If your products sync from Odoo to Shopify, your inventory should also sync from Odoo to Shopify. This ensures consistent data flow and prevents sync conflicts.

Inventory Sync Direction

The inventory sync direction must match your product sync direction. Choose how inventory flows between systems:

Inventory Sync Flow Direction
  • Odoo to Shopify: Sync inventory from Odoo to Shopify
  • Shopify to Odoo: Sync inventory from Shopify to Odoo

Important

The inventory sync direction must match your product sync direction. If products sync from Odoo to Shopify, inventory should also sync from Odoo to Shopify.

Sync Only Available Inventory

Control whether to sync negative inventory values:

Sync Only Available Inventory
  • Disabled: Syncs all inventory values, including negative stock
  • Enabled: Syncs only products with positive/available stock in Odoo

When enabled, only products with available inventory will sync to Shopify.

Auto Sync

Enable automatic inventory synchronization:

Auto Sync Configuration

Sync Modes

Periodic Sync (Default)

  • Syncs inventory at scheduled intervals
  • Set duration (e.g., 30 minutes, 1 hour, 1 day)
  • Runs automatically based on your schedule

Instant Sync via Webhooks

  • Real-time inventory updates
  • Syncs immediately when inventory changes
  • Requires base_automation module in Odoo

Instant Sync Requirement

For instant sync from Odoo to Shopify, you need the base_automation module installed in Odoo. Without this module, instant sync will not work.

Instant Sync Setup

When you enable instant sync, the system automatically registers webhooks:

Instant Sync Success Message

For Odoo to Shopify:

  • Webhook registration happens automatically
  • You'll see a success message: "Webhook registration completed successfully!"
  • Inventory updates sync in real-time when stock changes in Odoo

For Shopify to Odoo:

  • Webhooks are registered automatically in the background
  • Inventory updates sync in real-time when stock changes in Shopify

How It Works

Odoo to Shopify Sync

  1. Periodic Sync:

    • Runs at scheduled intervals
    • Fetches inventory from Odoo
    • Updates Shopify product inventory
    • Respects "Sync Only Available Inventory" setting
  2. Instant Sync:

    • Webhook triggers when Odoo inventory changes
    • Immediately updates Shopify inventory
    • Requires base_automation module

Shopify to Odoo Sync

  1. Periodic Sync:

    • Runs at scheduled intervals
    • Fetches inventory from Shopify
    • Updates Odoo product inventory
  2. Instant Sync:

    • Webhook triggers when Shopify inventory changes
    • Immediately updates Odoo inventory
    • Registered automatically in background

Manual Inventory Sync

You can manually trigger inventory sync at any time:

  • Click Manual Sync button
  • Syncs all products immediately
  • Works for both sync directions
  • Respects your inventory sync settings

Best Practices

  1. Match Directions: Keep inventory sync direction same as product sync direction
  2. Use Instant Sync: For real-time updates, enable instant sync (requires base_automation module)
  3. Filter Stock: Enable "Sync Only Available Inventory" to avoid syncing negative stock
  4. Monitor Sync: Check sync logs to ensure inventory updates are working correctly

Support

If you need help with inventory sync: