Cross Connect Server

cross_connect_server
REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/18.0/cross_connect_server
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSFlorian da Costa, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/rest-framework:
    - extendable_fastapi
    - fastapi
    - extendable
OCA/server-env:
    - server_environment
OCA/web-api:
    - endpoint_route_handler
odoo/odoo:
    - base
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyjwt
extendable-pydantic>=1.2.0
pydantic>=2.0.0
a2wsgi>=1.10.6
fastapi>=0.110.0
parse-accept-language
python-multipart
ujson
extendable>=0.0.4
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
fastapi_endpoint_form_view fastapi.endpoint field Inherits fastapi.fastapi_endpoint_form_view
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.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/16.0/cross_connect_server
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSFlorian da Costa, Weblate, OCA-git-bot, oca-ci, Florian Mounier
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:11:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/rest-framework:
    - extendable_fastapi
    - fastapi
    - extendable
OCA/server-env:
    - server_environment
OCA/web-api:
    - endpoint_route_handler
odoo/odoo:
    - base
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyjwt
extendable-pydantic>=1.2.0
pydantic>=2.0.0
a2wsgi>=1.10.6
fastapi>=0.110.0
parse-accept-language
python-multipart
ujson
extendable>=0.0.4
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
fastapi_endpoint_form_view fastapi.endpoint field Inherits fastapi.fastapi_endpoint_form_view
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.