Web Routing
http_routing · odoo/odoo
Health
100/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by25/255 modules depend on it
-
Maturity25/25In 10 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
5
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.36 MB
Module directory on disk
Code analysis
0 migration notes
3 models
18 views
2 HTTP endpoints
Description
Proposes advanced routing options not available in web or base to keep base modules simple.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 18
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
400 |
400 | ir.ui.view | qweb | New |
403 |
403 | ir.ui.view | qweb | New |
404 |
Page Not Found | ir.ui.view | qweb | New |
415 |
415 | ir.ui.view | qweb | New |
422 |
422 | ir.ui.view | qweb | New |
4xx |
4xx | ir.ui.view | qweb | New |
500 |
500 | ir.ui.view | qweb | New |
custom_oe_structure_400_layout_1 |
400 (oe_structure_400_layout_1) | ir.ui.view | qweb | Inherits http_routing.400 |
custom_oe_structure_403_layout_1 |
403 (oe_structure_403_layout_1) | ir.ui.view | qweb | Inherits http_routing.403 |
custom_oe_structure_415_layout_1 |
415 (oe_structure_415_layout_1) | ir.ui.view | qweb | Inherits http_routing.415 |
custom_oe_structure_422_layout_1 |
422 (oe_structure_422_layout_1) | ir.ui.view | qweb | Inherits http_routing.422 |
custom_oe_structure_4xx_layout_1 |
4xx (oe_structure_4xx_layout_1) | ir.ui.view | qweb | Inherits http_routing.4xx |
error_message |
error_message | ir.ui.view | qweb | New |
http_error |
HTTP Error | ir.ui.view | qweb | New |
http_error_container |
http_error_container | ir.ui.view | qweb | New |
http_error_debug |
http_error_debug | ir.ui.view | qweb | New |
res_lang_form_inherit_model |
res.lang.form.http_routing.inherit | res.lang | form | Inherits base.res_lang_form |
res_lang_tree_inherit_model |
res.lang.list.model.inherit | res.lang | list | Inherits base.res_lang_tree |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/website/translations |
Routing.get_website_translations |
public | http | ALL | sudo |
/web/session/logout |
SessionWebsite.logout |
public | http | ALL | website |
Models touched 3
New fields (0)
No new fields.
Public methods (4)-
get_frontend_session_info(self) -> dict@api.model -
get_nearest_lang(self, lang_code: str) -> str@api.modelTry to find a similar lang. Eg: fr_BE and fr_FR :param lang_code: the lang `code` (en_US) -
get_translation_frontend_modules(self) -> <expr>@api.model -
url_rewrite(self, path, query_args=None)@api.model@api.ormcache('path', 'query_args', cache='routing.rewrites')
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…