Skip to content
Health
92/100
good
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 3 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 14.0

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

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

Description

Technical module that provides a base handler for adding and removing controller routes on the fly.

Can be used as a mixin or as a tool.

Dependencies

Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
endpoint, fastapi

Code analysis

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

Views touched 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (11)
  • auth_type Selection
    default='user_endpoint' selection='_selection_auth_type'
  • cors Char
    default='*' help='Comma-separated list of allowed origins'
  • csrf Boolean
    default=False
  • endpoint_hash Char
    compute='_compute_endpoint_hash' help='Identify the route with its main params'
  • name Char
    required=True
  • readonly Boolean
    default=False
  • request_content_type Selection
    selection='_selection_request_content_type'
  • request_method Selection
    required=True selection='_selection_request_method'
  • route Char
    compute='_compute_route' copy=False index=True inverse='_inverse_route' precompute=True readonly=False required=True store=True
  • route_group Char
    help='Use this to classify routes together'
  • route_type Selection
    default='http' selection='_selection_route_type'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • new(self, values=None, origin=None, ref=None)
    @api.model

New fields (2)
  • active Boolean
    default=True
  • registry_sync Boolean
    copy=False default=False help='ON: the record has been modified and registry was not notified.\nNo change will be active until this flag is set to false via proper action.\n\nOFF: record in line with the registry, nothing to do.'
Public methods (2)
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • routing_map(self, key=None)
    @tools.ormcache('key', 'self._endpoint_route_last_version()', cache='routing')

Loading…

Loading…

Loading…

Loading…

Loading…