Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/svantesuominen/wooodoo/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Minimalistic integration between WooCommerce and Odoo.
WoooDoo Inventory Sync Plugin
The repository now contains a WordPress plugin that lets store owners:
- Configure Odoo connection details (URL, database, user name and API key) from the WordPress dashboard.
- Test the connection to Odoo directly from the settings screen.
- Fetch the "free to use" quantities from Odoo and update matching WooCommerce products by SKU or barcode.
- Review when the quantities were last synchronised and how many products were updated in the most recent run.
- Extend the integration via WordPress filters and actions for barcode meta keys and quantity overrides.
The plugin keeps the API key obscured in the settings form and only updates WooCommerce products that have a matching SKU or barcode in Odoo.
Installation
- Download or clone this repository into your WordPress
wp-content/plugins/directory. - Ensure the folder name remains
wooodooso WordPress can detect the plugin header inwooodoo.php. - Activate the plugin from Plugins → Installed Plugins inside the WordPress admin area.
- Navigate to WooCommerce → Odoo Inventory Sync to configure your Odoo credentials, test the connection, and trigger quantity updates.
Sync workflow
- The plugin authenticates to Odoo using the provided URL, database, username, and API key.
- WooCommerce product identifiers are matched against
default_codeandbarcodefields in Odoo. - For each match the plugin updates stock quantity and stock status using WooCommerce stock helpers.
- A timestamp and the number of updated products are stored so the settings screen shows the latest sync activity.