Mautic Connector
mautic_connector · OCA/connector-mautic
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
0 migration notes
1 model
3 views
1 HTTP endpoint
Description
Base module of the Mautic connector suite. It provides only the connection to a Mautic instance:
- the
mautic.backendmodel, holding the connection settings (Mautic URL, OAuth2 Client ID / Secret), - the OAuth2 authorization flow (connect, callback, automatic token refresh),
- a Test Connection action to verify the credentials are still valid.
This module does not synchronize any business data by itself. It is meant to be extended by future modules (contacts, tags, segments, ...) that will depend on it.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mautic_backend_view_form |
mautic.backend.form | mautic.backend | form | New |
mautic_backend_view_list |
mautic.backend.list | mautic.backend | list | New |
mautic_backend_view_search |
mautic.backend.search | mautic.backend | search | New |
HTTP endpoints 1
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/mautic/oauth2/callback |
MauticController.oauth2_callback |
user | http | ALL |
Models touched 1
New fields (11)
-
access_tokenCharcopy=Falsegroups='base.group_system' -
activeBooleandefault=True -
api_urlCharhelp='Base URL of the Mautic instance, without a trailing slash, e.g. https://mautic.example.com'required=Truestring='Mautic URL' -
client_idCharrequired=True -
client_secretCharrequired=True -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=True -
nameCharrequired=True -
redirect_urlCharcompute='_compute_redirect_url'help="Register this URL as the 'Redirect URI' of the Mautic API credentials."string='Callback URL' -
refresh_tokenCharcopy=Falsegroups='base.group_system' -
stateSelectioncompute='_compute_state'store=True args: [('not_connected', 'Not Connected'), ('connected', 'Connected')] -
token_expires_atDatetimecopy=False
-
action_authorize(self)Open the Mautic authorization page in a new window. Mautic will redirect back to the ``/mautic/oauth2/callback`` route with an authorization ``code``, identifying the backend through the ``state`` query parameter. -
action_test_connection(self)