OdooWiki OCA HUB

Connector Tests

test_connector folder_open OCA/connector open_in_new
Hidden License: LGPL-3

This addon is not meant to be used. It extends the Odoo Models in order to run automated tests on the Connector framework

The basic tests are integrated within the connector addon.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

This hidden module adds test-only models and components used to run automated tests for the Connector framework. It is not meant for real business use and should not be installed on a production database.

This module is a technical test addon for the Connector framework. It does not add any business feature for end users; instead it creates sample data structures that the automated tests of the Connector framework rely on.

It defines a test backend model (test.backend) that extends the connector backend concept, a plain test record model (connector.test.record), and two kinds of bindings: connector.test.binding, which is linked to a test record and carries a backend and an external ID, and no.inherits.binding, a simpler binding without the record link.

Both binding models enforce a uniqueness rule: the combination of backend and external ID must be unique, otherwise Odoo shows the message "A binding already exists for this record". The backend and external record references are required and cannot be deleted while a binding still points to them.

It also registers two queue job functions so that jobs on these test bindings can show a related action that unwraps the binding. Access rights are granted only to the Connector manager group.

Because this module exists purely to support automated tests, it has no menus, no reports and no user-facing screens. Installing it on a real database would only add empty test tables and is not recommended.

Depends on

Models and fields (6)
  • test.backend · new model
  • no.inherits.binding · new modelbackend_id (Backend), external_id (ID on External)
  • connector.test.binder · new model
  • connector.test.record · new model
  • connector.test.binding · new modelodoo_id (Test Record), backend_id (Backend), external_id (ID on External)
  • connector.test.no.inherits.binder · new model

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 14.0

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

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.