OdooWiki OCA HUB

Connector for E-Commerce

connector_ecommerce folder_open OCA/connector-ecommerce open_in_new
Hidden License: AGPL-3

This modules aims to be a common layer for the connectors dealing with e-commerce.

It sits on top of the connector_ framework and is used by the e-commerce connectors, like magentoerpconnect_ or prestashoperpconnect_.

That's a technical module, which include amongst other things:

Events

On which the connectors can subscribe listeners. The events it adds are:

  • on_invoice_paid(self, record)
  • on_invoice_validated(self, record)
  • on_invoice_validated(self, record)
  • on_picking_out_done(self, record, method) where method is 'partial' or 'complete'
  • on_tracking_number_added(self, record)
  • on_product_price_changed(self, record) Components A piece of code which allows to play all the onchanges required when we create a sales order. Another one which allows to add special lines in imported sales orders such as Shipping fees, Cash on Delivery or Discounts.

Data Model

Add structures shared for e-commerce connectors

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds the shared e-commerce plumbing used by Odoo online-store connectors: it handles sales orders cancelled on the external shop, adds shipping, cash-on-delivery, gift and discount lines, and fires events when invoices, deliveries or prices change.

This is a hidden technical module that other e-commerce connectors build on, so most of its effects appear inside sales orders, invoices, deliveries and payment modes rather than in a standalone menu.

On a sales order you get extra information and buttons: a flag showing the order was cancelled in the external shop, a "View Parent Sales Order" button when the order replaces an earlier one, and an "Ignore backend's cancellation, Keep Open" button (for sales managers) that opens a small window where you must write a reason. A search filter "Canceled in backend, to cancel" lists orders that were cancelled online and still need cancelling in Odoo.

Business rules: when an order is flagged as cancelled in the backend, Odoo posts a note on the order, its deliveries and invoices, tries to cancel the order automatically, and blocks confirmation through a sales exception until the cancellation is resolved. A parent order that still needs cancelling also blocks the child order.

Payment modes gain an "Import Rules" section (always, never, paid, authorized) and a number of days after which an unfulfilled order import is cancelled. Products gain a computed Tax Group, and price changes on products or variants trigger a notification event. Deliveries notify when a tracking number is added or when an outgoing shipment is done (partial or complete).

Required by other modules

Models and fields (15)
  • sale.order · extends an existing modelparent_id (Parent Order), need_cancel (Need to be canceled), parent_need_cancel (A parent sales order needs cancel), canceled_in_backend, cancellation_resolved (Cancellation from the backend resolved)
  • stock.move · extends an existing model
  • account.tax · extends an existing model
  • account.move · extends an existing model
  • stock.picking · extends an existing modelrelated_backorder_ids (Related backorders)
  • product.product · extends an existing model
  • product.template · extends an existing modeltax_group_id (Tax Group)
  • sale.ignore.cancel · new modelreason
  • account.payment.mode · extends an existing modelimport_rule, days_before_cancel
  • ecommerce.onchange.manager · new model
  • ecommerce.order.line.builder · new model
  • ecommerce.order.line.builder.cod · new model
  • ecommerce.order.line.builder.gift · new model
  • ecommerce.onchange.manager.sale.order · new model
  • ecommerce.order.line.builder.shipping · new model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/connector-ecommerce.

terminal Installation and usage

OCA documentation · Odoo 16.0

This module is a dependency for more advanced connectors. It does nothing on its own and there is no reason to install it alone.

No verified information in OCA: Configuration, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.