Skip to main content
Odoo Community Association

Mercado Libre Connector - Sales

Alpha License: AGPL-3 OCA/connector-mercadolibre Translate me on Weblate Try me on Runboat

Import Mercado Libre orders, cart packs, and shipments into Odoo.

One Mercado Libre order becomes one sales order. Orders that share a pack id stay linked. Shipment status is stored on its own binding and linked to the delivery when one exists. Paid orders stay in draft and enter the automatic workflow configured on the backend.

Table of contents

Installation

Install connector_mercadolibre_product first, then this module.

This module also depends on sale_stock, delivery, stock_delivery, sale_automatic_workflow, sale_automatic_workflow_job, and sale_exception.

Configuration

  1. Open the Mercado Libre backend and the page Sales.

  2. Choose an Automatic Workflow. Import orders stays available only when a workflow is set. Confirmation, invoicing, and delivery validation stay in sale_automatic_workflow.

  3. Set the sales team and the fiscal position copied onto imported orders.

  4. Choose service products for the shipping cost and the marketplace fee.

  5. Optionally set a tracking carrier. Tracking numbers are exported only for the seller-provided modes custom and me1.

  6. Map seller warehouses on the Catalog page before enabling Export stock. An unmapped seller logistic type (drop_off, xd_drop_off, cross_docking, self_service) raises a sale exception. Fulfillment stock is never pushed.

Usage

Paid orders import as draft sales orders and take the automatic workflow from the backend. A cart is several sales orders with the same pack id. The Pack smart button opens the other orders.

A missing SKU is a note on the sales order. The exception Mercado Libre missing SKU blocks confirmation until the listing is matched and the order is imported again.

Cancelling a Mercado Libre order cancels that sales order when no delivery is done. The other orders in the pack are left as they are.

Shipment notifications update the shipment binding. A done delivery on a custom or me1 shipment enqueues one tracking export. me2 and fulfillment shipments store the tracking number and do not send one.

A payments notification updates the payment status of the existing order. It does not create a second sales order.

The reconciliation cron and a repeated orders_v2 notification share one import job per order.

Development

Handlers set _topic to orders_v2, shipments, or payments and _apply_on to mercadolibre.notification. The core dispatcher matches _topic. _apply_on has to be an Odoo model, so the topic name is not stored there.

Line builders share the usage sale.order.line.builder. The importer loads them with many_components and sorts by _sequence (product 10, shipping 20, fee 30). Add another builder for a coupon or a local tax without changing the importer.

Odoo 19 rejects a sales order line that has neither a product nor a display type. An unmatched item is a line_note with mercadolibre_unmatched set. The exception rule exception_missing_sku reads that flag and blocks confirmation.

The status mapper usage is status.mapper. Override apply for a different confirmation or cancellation rule. This module leaves paid orders in draft.

Tracking export is the stock picking listener, not the shipment importer. The identity keys are:

  • meli:orders:{backend_id} for the batch

  • meli:order:{backend_id}:{order_id} for one order

  • meli:shipment:{backend_id}:{shipment_id} for one shipment

  • meli:payment:{backend_id}:{resource} for a payment notification

  • meli:tracking:{backend_id}:{shipment_id} for a tracking export

Buyers are matched only through mercadolibre.res.partner. The binder does not search res.partner by name.

Known issues / Roadmap

  • Coupon and discount lines.

  • Mercado Pago settlement detail beyond the payment status.

  • Invoice fiscal data for each country.

  • Pack-level shipping quotes when Mercado Libre splits a cart across shipments.

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.

Odoo Community Association

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-sale 19.0.1.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-connector-mercadolibre-sale 19.0.1.0.0.2
File Interpreter ABI Platform Actions
odoo_addon_connector_mercadolibre_sale-19.0.1.0.0.2-py3-none-any.whl Python 3 none any Details for odoo_addon_connector_mercadolibre_sale-19.0.1.0.0.2-py3-none-any.whl

Release files / odoo_addon_connector_mercadolibre_sale-19.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_connector_mercadolibre_sale-19.0.1.0.0.2-py3-none-any.whl
Size 72.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfa912185b7611e07770d1f1325053f7930e818d4a21d66d7065c83357f3bdb2
BLAKE2b-256 checksum
How to use checksums
8264b620463769482bf2c1ce13448e4116954795823b962aad09b19193e96e89
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-sale 19.0.1.0.0.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page