Miko for Odoo

Magento 2 Connector for Odoo

Magento 2 and Odoo, kept in step.

Get it on the Odoo App Store ↗ Talk to us
Magento 2 Connector for Odoo by Tripster Developers

Most Magento connectors are a connector for some other platform with the endpoints swapped. This one is written around how Magento actually models a shop. Configurable products are shells, so it is the sellable simple products that reach Odoo. SKU is the business key, so it is carried and URL-encoded everywhere stock is written. Shipments are real objects, so a validated Odoo delivery creates a Magento shipment with its tracking number.

It runs on a schedule against the Magento 2 REST API using an integration access token, and is deliberate about the places where a wrong guess costs money.

What syncs, and which way

Product and customer export from Odoo back to Magento is not implemented, so the direction setting does not offer it. A setting that can be chosen and silently does nothing is worse than one that is not offered at all.

RecordDirectionNotes
OrdersMagento → OdooChecked against the total Magento actually charged
ProductsMagento → OdooSimple children imported; configurable shells skipped
CustomersMagento → OdooCarried with the order
StockOdoo → MagentoSKU URL-encoded on every write
Shipments and trackingOdoo → MagentoCreated when the delivery is validated

How it works

  1. Create the API credentials in your store. Read and write access to products, customers, orders and inventory.
  2. Add the store in Odoo and press Test Connection. It verifies the credentials, names the store back to you, and says exactly what to fix if anything is wrong.
  3. Import, then look at what arrived. Products, then customers, then orders. Nothing is confirmed or invoiced yet: those switches start off on purpose.
  4. Turn on the schedule and the write-back. Once you are happy with what came in, enable the scheduled sync, stock publishing and fulfilment individually.
In Magento admin the token lives under System, Extensions, Integrations. Create it, grant Catalog, Sales and Customers, then Activate it. A token that was never activated returns a 401 and nothing else.

What it will not do

Written for how Magento models a shop

When something fails, you are told what to fix

Requirements

Questions

Why can I only sync from Magento to Odoo?
Because product and customer export is not built yet, and we would rather the setting say so than offer a direction that quietly does nothing.
How are configurable products handled?
The simple children are imported as the sellable products. The configurable shell is skipped, on both the catalogue and the order.
What happens if an import is interrupted?
Re-running converges on the same records. Identity goes through the mapping table before anything is written, so an order cannot be created twice.
Which Odoo versions are supported?
Every listed Odoo version is certified on each release by installing the module into a real Odoo image of that series and running the full test suite. A version is only listed once it passes.
Does it work on Odoo Online?
Odoo Online cannot run third-party modules that contain Python, which is Odoo's rule rather than ours. Odoo.sh and self-hosted installs are both fine.
How do I get help?
Email [email protected] with your Odoo version, the module version and what you did. If a sync job failed, the job record holds the exact payload and the error, which answers most questions immediately.

Other Miko apps for Odoo

Magento 2 Connector for Odoo
Live on the Odoo App Store, published by Tripster Developers.
Get it on the Odoo App Store ↗

← All Miko apps for Odoo