Mercado Libre Connector - Products
Bind Mercado Libre listings to Odoo products and keep price and seller stock aligned.
Listings are matched by the SELLER_SKU attribute, then by seller_custom_field, then by the product internal reference. A listing that does not match stays unbound. Create missing products is off by default.
Price export uses the Mercado Libre Prices API. Stock export sends available_quantity for legacy items and PUT /user-products/{id}/stock/type/seller_warehouse when the backend version is User products. Fulfillment stock is read-only.
Table of contents
Installation
Install connector_mercadolibre first, then this module.
Map each seller warehouse on the backend before enabling Export stock. A warehouse mapped as fulfillment is displayed and is never updated from Odoo.
Configuration
Open the Mercado Libre backend and the page Catalog.
Enable Import listings, Export prices, and Export stock as needed.
Add a line per Odoo warehouse: Mercado Libre store id, network node id, and stock type (seller_warehouse, selling_address, or fulfillment).
Set Versions on the backend. After connect, the core fills this from the user_product_seller tag on /users/me. Keep User products for sellers already migrated.
Run Import listings on the backend. Review unmatched rows under Mercado Libre / Catalog / Listings.
Open a product and use the Mercado Libre smart button to see its bindings. Set the internal reference to the seller SKU before the next import if the first pass did not match.
Usage
A change to a product list price enqueues one price export for each binding of that product. A done stock move enqueues one stock export per binding and mapped warehouse. Both jobs use an identity key, so a burst of moves becomes a single pending job.
Mercado Libre / Catalog / Categories shows the cached category tree and the attribute schema used when a publisher component creates a listing. Refresh categories on the backend reloads that tree.
The notification topics items and stock-location update the binding. stock-location writes the last marketplace quantity on the binding and does not create stock.quant rows.
Development
Stock export is two components with usage stock.exporter. _component_match keeps the component for the backend version:
mercadolibre.product.exporter.stock.legacy writes available_quantity on PUT /items/{id} when Versions is Legacy items.
mercadolibre.product.exporter.stock.user_product writes PUT /user-products/{id}/stock/type/seller_warehouse (or selling_address) when Versions is User products.
A binding with an empty user_product_id uses the legacy call, including when the backend version is User products. Fulfillment bindings and fulfillment warehouse lines are skipped. The quantity is product.with_context(warehouse_id=warehouse).free_qty for that mapped warehouse only.
_apply_on has to be an Odoo model. The Mercado Libre topic is not a model, so the handlers set _topic to items or stock-location and _apply_on to mercadolibre.notification. The core dispatcher selects the handler by _topic.
mercadolibre.product.binder resolves a listing with to_internal(external_id, variation_id=...). An empty variation id is the item that has no variations. to_external returns the Mercado Libre item id.
Publishing a new listing is the component usage product.publisher. This module ships a publisher that raises UserError with “Listing publication is not installed.” A localization replaces that component with POST /items without changing price or stock export.
Import and export mappers are separate (import.mapper and export.mapper). The export mapper exposes price_payload, legacy_stock_payload, and user_product_stock_payload so a price body is never merged into a stock body.
Import jobs use the identity key meli:item:{backend_id}:{item_id}:. One job imports every variation of the item. Price jobs use meli:price:{backend_id}:{binding_id}. Stock jobs use meli:stock:{backend_id}:{binding_id}:{mapping_id}.
Known issues / Roadmap
Picture binary synchronization. The binding stores picture URLs.
Listing creation (product.publisher) with category attributes, listing types, and picture upload.
Price lists other than the product list price.
Multi-company stock rules beyond the warehouse map on the backend.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/connector-mercadolibre project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-connector-mercadolibre-product 19.0.1.0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_connector_mercadolibre_product-19.0.1.0.0.3-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_connector_mercadolibre_product-19.0.1.0.0.3-py3-none-any.whl |
Release files / odoo_addon_connector_mercadolibre_product-19.0.1.0.0.3-py3-none-any.whl
| Download URL | odoo_addon_connector_mercadolibre_product-19.0.1.0.0.3-py3-none-any.whl |
|---|---|
| Size | 71.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cbe6b1c7441aa07abe0d93e15377bba53b502e412410eb58b14a94d79b102f6f
|
|
BLAKE2b-256 checksum How to use checksums |
060976731cef81b8b94700e1b37fe6262b24cf880a4073ccb3ea2f1f383ab6af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for odoo-addon-connector-mercadolibre-product 19.0.1.0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.