| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Invoicing (account) • Discuss (mail) • Inventory (stock) |
| Lines of code | 1873 |
| Technical Name |
sale_magento |
| License | OPL-1 |
| Website | http://nguyentuann1004@gmail.com |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Invoicing (account) • Discuss (mail) • Inventory (stock) |
| Lines of code | 1873 |
| Technical Name |
sale_magento |
| License | OPL-1 |
| Website | http://nguyentuann1004@gmail.com |
| Versions | 17.0 18.0 19.0 |
Magento 2 Connector
Bridge Magento 2 / Adobe Commerce with Odoo. Automatically import **store orders**, synchronize **inventories via MSI or legacy endpoints**, and push **delivery tracking details** back to Magento seamlessly. Secure REST API connection.
The Challenge
Magento 2 / Adobe Commerce store managers deal with highly complex multi-store and inventory frameworks. Manually syncing invoices, adjusting stocks per source, and copying carrier tracking details leads to critical bookkeeping mistakes. Our **Magento 2 Connector** automates these processes, keeping stock levels, multi-lingual views, and deliveries perfectly matched.
|
📦
Import REST OrdersImports Magento 2 orders automatically (cron) or on-demand. Maps tax rules, localized customer profiles, shipping fees, and discounts into draft sale orders. |
🚚
Automatic ShipmentsValidating a picking in Odoo automatically triggers a shipment record on Magento (`POST /V1/order/{orderId}/ship`) with the carrier tracking number. |
🔗
SKU Fallback LogicMatches Magento products directly to Odoo internal references. Employs a smart fallback product model so missing SKUs never halt order importing. |
|
📈
MSI Stock Sync ModeSynchronizes Odoo's on-hand warehouse quantities to Magento using the Multi-Source Inventory source-items API, protecting localized stock sources. |
🚫
2-Way CancellationsOrder cancellations are synchronized bidirectionally. Canceling on Magento voids Odoo orders, and Odoo cancellations automatically restock Magento. |
🌐
Multi-Store MappingExpose and map several distinct Magento Store Views via `store_code` under Odoo shop records. Perfect for multi-language and multi-region sites. |
🌟 Technical Spotlight: MSI (Multi-Source Inventory) Dual Mode
Magento 2 supports complex warehouse networks via its Multi-Source Inventory (MSI) framework. However, many enterprise stores continue to run legacy, non-MSI databases. Most standard connectors crash when configured against mismatched stock structures.
Our **Magento 2 Connector** is engineered with an intelligent **MSI Dual Mode** library. It automatically queries your Magento configuration. If MSI is active, Odoo syncs inventory using the source-items endpoint. If Magento is running a legacy single-source database, the connector dynamically falls back to the legacy `stockItems` single-source endpoint. Flawless stock syncing across all Magento 2 versions!
How It Works
Secure authorization methods to integrate Magento with Odoo.
Generate Token or Admin Access
Copy a permanent Integration Token from your Magento backend, or configure the admin username and password. Odoo handles password credentials via secure auto-renewed REST admin token calls.
Map Store Codes & SKUs
In Odoo, create individual Shop records and specify their `store_code`. Product variant SKUs in Magento are instantly matched against your Odoo product database.
Automatic Operations
Magento orders flow into Odoo. Fulfilling orders in Odoo creates shipment records on Magento, while available stock levels remain synchronized across your warehouses.
Before vs After
| Workflow | Without Module | With Magento 2 Connector |
|---|---|---|
| Sync Magento 2 REST Sales Orders | ✗ Manual Duplication | ✓ (Automated Sync) |
| Multi-Store Store Views (`store_code`) | ✗ Lacks localized routes | ✓ (Multi-Store Mapping) |
| Support Legacy Stock & MSI Magento | ⚠️ Breaks on old database | ✓ (MSI & Legacy Fallback) |
| Automatic Magento Shipments & Tracking | ✗ Slow manual billing | ✓ (Direct API Post Ship) |
| Subscription fees (Zapier, iPaaS) | 💸 Ongoing monthly fees | ✓ Lifetime ownership |
Frequently Asked Questions
| ❓ Does it support Multi-Store Views in Magento 2? Yes. Odoo supports Magento's localized multi-store layout. A single Magento connection can fetch orders across distinct storefront views by mapping localized store codes (`store_code`) under separate Odoo shop records. |
| ❓ What Magento authorization methods are supported? You can authorize via a permanent Integration Token generated in your Magento admin dashboard (recommended, no OAuth redirect required), or provide an administrator username and password which Odoo utilizes to auto-renew REST tokens. |
| ❓ How does Odoo handle older Magento 2 databases without Multi-Source Inventory (MSI)? The connector features built-in dual stock mapping. It first attempts to use Magento's MSI source-items REST endpoint. If Magento returns a legacy single-source database error, the connector automatically falls back to updating inventories via Magento's legacy `stockItems` catalog endpoints. |
Need Help?
Full support included. Questions, customization requests, or issues — just reach out!
nguyentuann1004@gmail.comVersion: 18.0.1.0.0 | License: OPL-1 | Author: Tuan Nguyen Van
Compatible with Odoo 18 Community, Enterprise, and Odoo.sh
© 2026 Tuan Nguyen Van. All rights reserved.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module