Prestashop Marketplace Connector
by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.ro$ 960.39
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Contacts (contacts) • Discuss (mail) • Purchase (purchase) • eCommerce (website_sale) • Website (website) |
| Community Apps Dependencies |
Show
•
Marketplace Base Connector
• Marketplace Delivery addon • Marketplace Payment Acquirer addon • Marketplace Sales Order Stage addon • Marketplace website addon • Job Queue • Delivery in locker - Base • Deltatech Delivery Base • Marketplace Sales Order addon • Deltatech Delivery Status • Deltatech Sale Order Stage • Many2one Badge Widget • eCommerce Sale Short Description |
| Lines of code | 16540 |
| Technical Name |
deltatech_marketplace_prestashop |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 19.0 |
Prestashop Marketplace Connector

Deltatech PrestaShop Marketplace Connector
The Deltatech PrestaShop Marketplace Connector is a comprehensive Odoo extension developed by Terrabit that enables seamless integration between Odoo’s ERP system and PrestaShop, one of the most popular open-source e-commerce platforms. This connector facilitates bidirectional synchronization of critical business data, allowing businesses to manage their PrestaShop online stores directly from Odoo, creating a unified solution for product, customer, and order management.
Key Features
- Complete Product Management:
- Synchronize product catalog between Odoo and PrestaShop
- Support for product variants, attributes, and features
- Import and export product images and multimedia
- Manage product categories and public categories
- Real-time inventory synchronization across platforms
Advanced Customer Integration
- Import PrestaShop customers into Odoo contact database
- Synchronize customer data, addresses, and purchase history
- Handle customer groups and associations
Comprehensive Order Management
- Import sales orders from PrestaShop to Odoo
- Automatic creation of Odoo sales orders
- Synchronize order status updates between systems
- Track order fulfillment and delivery status
International Capabilities
- Multi-language support with language bindings
- Multi-currency management
- Country and county (state/region) synchronization
- International shipping and tax handling
Delivery and Payment Integration
- Support for PrestaShop delivery carriers
- Synchronization of payment methods and acquirers
- Warehouse integration for fulfillment management
Sales Process Enhancement
- Support for sales stages and order status tracking
- Sales tags synchronization
- Team-based order assignment with warehouse association
Automated Operations
- Scheduled synchronization jobs
- Background processing with queue management
- Performance optimizations for large datasets
- Options for incremental synchronization
Technical Implementation
The connector utilizes PrestaShop’s web services API and implements a sophisticated binding system:
- Backend Communication: Handles API authentication and data exchange with PrestaShop
- Binding Models: Connects Odoo entities with their PrestaShop
counterparts through a comprehensive set of bindings:
- Product template and variant bindings
- Product category and attribute bindings
- Customer and address bindings
- Order and order line bindings
- Stock and inventory bindings
- Payment and delivery method bindings
- Country, language, and currency bindings
The implementation includes controllers for webhook handling and background job processing for efficient data synchronization.
Integration Requirements
The module requires:
- External Python dependency: dicttoxml
- Core Deltatech marketplace modules:
- deltatech_marketplace (base functionality)
- deltatech_marketplace_website (website integration)
- deltatech_marketplace_sale_stage (sales process management)
- deltatech_marketplace_delivery (delivery integration)
- deltatech_marketplace_payment (payment integration)
Benefits
- Operational Efficiency: Manage online store without switching between platforms
- Data Consistency: Single source of truth for product and customer information
- Time Savings: Eliminate duplicate data entry and reduce administrative overhead
- Error Reduction: Automated synchronization prevents discrepancies
- Improved Customer Experience: Consistent product information and inventory availability
- Scalability: Handle increased order volumes efficiently
This connector is ideal for businesses that want to leverage PrestaShop’s powerful e-commerce capabilities while maintaining centralized business operations in Odoo. It creates a seamless bridge between online retail and back-office processes, enabling businesses to focus on growth rather than manual data management.
Table of contents
Known issues / Roadmap
ROADMAP — deltatech_marketplace_prestashop
Critice (bug-uri care pot cauza erori la runtime)
1. binding_product.py — verificare fragila “p” in external_id
Fix aplicat: Inlocuit "p" in external_id cu str(external_id).startswith("p") pentru a evita false positive-uri.
2. binding_product.py — int(external_id) poate arunca ValueError
Fix aplicat: Adaugat try/except (ValueError, TypeError) in jurul conversiei int(external_id).
3. binding_product_image.py — acces direct la context[“marketplace_product”] fara verificare
Fix aplicat: Inlocuit cu .get() defensiv + fallback pe self.env.context; adaugat warning si return safe daca lipseste.
4. binding_product_image.py — camp product_variant_id
Confirmat: product.image (din website_sale) are campul product_variant_id (Many2one -> product.product), nu product_id. Codul existent este corect.
5. backend.py — KeyError la req.headers[“Content-Type”] pentru raspunsuri 204 No Content
Fix aplicat: Inlocuit req.headers["Content-Type"] == "application/json" cu "application/json" in req.headers.get("Content-Type", "").
Importante (comportament incorect sau inconsistent)
6. binding_product_template.py — accessory_product_ids scris intotdeauna, chiar daca lista e goala
Fix aplicat: Inlocuit conditia if values["accessory_product_ids"] (mereu True) cu if odoo_accessories.ids — write-ul se face doar daca exista accesorii reale.
7. binding_product.py — taxa calculata fara context produs la importul combinatiilor
Fix aplicat: Aliniat cu logica din prestashop_import_simple_product_by_id — taxa se ia de pe product_tmpl_id.product_variant_id.taxes_id cu fallback pe taxa companiei.
8. binding_sale_order.py — timezone hardcodat +0300
Fix aplicat: Inlocuit timezone hardcodat cu pytz.timezone(backend.prestashop_timezone or "Europe/Bucharest") — se respecta ora de vara/iarna automat prin DST.
9. binding_product_template.py — missing_import_by_ids pentru combinatii nu actualizeaza cele existente
Fix aplicat: Inlocuit missing_import_by_ids cu import_by_ids — la refresh-ul template-ului, toate combinatiile (inclusiv cele existente) sunt acum reimportate cu date actualizate (pret, atribute, stoc).
Imbunatatiri de performanta
10. binding_product.py — N+1 API calls la importul produselor simple
Fix aplicat: Adaugat "display": "[id,associations]" in parametrii call-ului /products — asocierile (combinatiile) sunt acum incluse direct in raspunsul paginat, eliminand call-ul suplimentar per produs.
Calitate cod / tech debt
11. backend.py — dubla tratare pentru status 400 si 500
raise_for_status() acopera deja toate 4xx/5xx, dar 400 si 500 sunt tratate manual inainte pentru a extrage mesajele de eroare din JSON. Logica este intentionata — parsarea erorilor Prestashop necesita tratare separata.
12. binding_product.py — prestashop_import — channel lipsa la with_delay
Fix aplicat: Adaugat channel=backend.inbound_channel_id.complete_name la with_delay pentru combinatii, consistent cu restul codului.
13. Comentarii de cod mort (commented-out code)
Fix aplicat: Eliminate blocurile de cod comentat din binding_product.py, binding_product_template.py si binding_sale_order.py.
14. binding_product_template.py — product.read()[0] fara limitarea campurilor
values = product.read()[0] # todo: de limitat ce campuri se citesc
TODO existent nerezolvat — read() fara fields= incarca toate campurile, inclusiv binare (imagini), inutil pentru export. De rezolvat cand se refactorizeaza exportul.
Bug Tracker
Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Terrabit
- Dorin Hongu
Maintainers
Current maintainer:

This module is part of the terrabit-ro/bitshop project on GitHub.
You are welcome to contribute.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Contacts (contacts) • Discuss (mail) • Purchase (purchase) • eCommerce (website_sale) • Website (website) |
| Community Apps Dependencies |
Show
•
Marketplace Base Connector
• Marketplace Delivery addon • Marketplace Payment Acquirer addon • Marketplace Sales Order Stage addon • Marketplace website addon • Job Queue • Delivery in locker - Base • Deltatech Delivery Base • Marketplace Sales Order addon • Deltatech Delivery Status • Deltatech Sale Order Stage • Many2one Badge Widget • eCommerce Sale Short Description |
| Lines of code | 16540 |
| Technical Name |
deltatech_marketplace_prestashop |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
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