Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
10 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 1 view 0 HTTP endpoints

Description

This module allows other odoo instances, where the cross_connect_client module is installed and configured, users to connect directly on this odoo instance.

Dependencies

Odoo dependencies
OCA/rest-framework:
OCA/server-env:
OCA/web-api:
odoo/odoo:
Python dependencies
pyjwt, extendable-pydantic>=1.2.0, pydantic>=2.0.0, a2wsgi>=1.10.6, fastapi, fastapi-openapi-overrides, parse-accept-language, python-multipart, ujson, extendable>=0.0.4
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
fastapi_endpoint_form_view fastapi.endpoint form Inherits fastapi.fastapi_endpoint_form_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (8)
  • allowed_group_ids Many2many
    related='endpoint_id.cross_connect_allowed_group_ids'
  • api_key Char
    default=<expr> help='The API key to give to configure on the client.' required=True string='API Key'
  • bypass_user_mail_re Char
    help='If set, users with an email matching one of these regex will bypass the token user/login creation. The regexes are comma separated.' string='Bypass Users Email Regexes'
  • endpoint_id Many2one → fastapi.endpoint
    required=True string='Endpoint' args: 'fastapi.endpoint'
  • group_ids Many2many → res.groups
    domain="[('id', 'in', allowed_group_ids)]" help='The groups that this client belongs to.' string='Groups' args: 'res.groups'
  • name Char
    required=True
  • user_count Integer
    compute='_compute_user_count' help='The number of users created by this cross connection.' string='Cross Connected User Count'
  • user_ids One2many → res.users
    help='The users created by this cross connection.' string='Users' args: 'res.users', 'cross_connect_client_id'
Public methods (0)

No public methods.

New fields (4)
  • app Selection
    ondelete={'cross_connect': 'cascade'} selection_add=[('cross_connect', 'Cross Connect Endpoint')]
  • cross_connect_allowed_group_ids Many2many → res.groups
    help='The groups that can access the cross connect clients of this endpoint.' string='Cross Connect Allowed Groups' args: 'res.groups'
  • cross_connect_client_ids One2many → cross.connect.client
    help='The clients that can access this endpoint.' string='Cross Connect Clients' args: 'cross.connect.client', 'endpoint_id'
  • cross_connect_secret_key Char
    default=<expr> help='The secret key used for cross connection.' required=True
Public methods (0)

No public methods.

New fields (2)
  • cross_connect_client_id Many2one → cross.connect.client
    help='The cross connect client that created this user.' string='Cross Connect Client' args: 'cross.connect.client'
  • cross_connect_client_user_id Integer
    help='The user ID on the cross connect client.' string='Cross Connect Client User ID'
Public methods (0)

No public methods.

Loading…