| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/rest-framework |
| GIT | |
| GIT | https://github.com/OCA/rest-framework.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/rest-framework/tree/18.0/fastapi_auth_partner |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Sébastien BEAU, Weblate, OCA-git-bot, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/rest-framework |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:05 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/queue: - queue_job OCA/rest-framework: - extendable_fastapi - fastapi - extendable - auth_partner OCA/server-env: - server_environment OCA/web-api: - endpoint_route_handler odoo/odoo: - auth_signup - base_setup - base - web - bus - web_tour - html_editor - base_sparse_field |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
itsdangerous 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 pyjwt requests |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module is the FastAPI implementation of [auth_partner](../auth_partner) it provides all the routes to manage the authentication of partners. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
auth_directory_view_form |
auth.directory | header | Inherits auth_partner.auth_directory_view_form | |
auth_partner_view_form |
auth.partner | button | Inherits auth_partner.auth_partner_view_form | |
fastapi_endpoint_view_form |
fastapi.endpoint | span | Inherits fastapi.fastapi_endpoint_form_view | |
wizard_auth_partner_impersonate_view_form |
wizard.auth.partner.impersonate | form | New | |
wizard_auth_partner_reset_password_view_form |
wizard.auth.partner.reset.password | group | Inherits auth_partner.wizard_auth_partner_reset_password_view_form |
cookie_duration
Integer
default=525600
help='In minute, default 525600 minutes => 1 year'
required=True
cookie_secret_key
Char
default=<expr>
groups='base.group_system'
help='The secret key used to sign the cookie'
required=True
fastapi_endpoint_ids
One2many → fastapi.endpoint
string='FastAPI Endpoints'
args: 'fastapi.endpoint', 'directory_id'
sliding_session
Boolean
action_regenerate_cookie_secret_key(self)
No new fields.
Public methods (1)local_impersonate(self)
directory_id
Many2one → auth.directory
endpoint_id
Many2one → fastapi.endpoint
required=True
args: 'fastapi.endpoint'
new(self, vals, **kwargs)
app
Selection
ondelete={'demo': 'cascade'}
selection_add=[('demo', 'Demo Endpoint')]
demo_auth_method
Selection
selection_add=[('auth_partner', 'Partner Auth')]
string='Authentication method'
directory_id
Many2one → auth.directory
is_auth_partner
Boolean
compute='_compute_is_auth_partner'
help='Technical field to know if the auth method is partner'
No public methods.
auth_directory_id
Many2one → auth.directory
related='auth_partner_id.directory_id'
args: 'auth.directory'
auth_partner_id
Many2one → auth.partner
required=True
args: 'auth.partner'
fastapi_endpoint_id
Many2one → fastapi.endpoint
required=True
args: 'fastapi.endpoint'
action_impersonate(self)
fastapi_endpoint_id
Many2one → fastapi.endpoint
action_reset_password(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/rest-framework |
| GIT | |
| GIT | https://github.com/OCA/rest-framework.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/rest-framework/tree/16.0/fastapi_auth_partner |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, Simone Rubino, oca-ci, Florian Mounier |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/rest-framework |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:47 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/queue: - queue_job OCA/rest-framework: - extendable_fastapi - fastapi - extendable - auth_partner OCA/server-env: - server_environment OCA/web-api: - endpoint_route_handler odoo/odoo: - auth_signup - base_setup - base - web - bus - web_tour - base_sparse_field |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
itsdangerous 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 pyjwt requests |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
auth_directory_view_form |
auth.directory | header | Inherits auth_partner.auth_directory_view_form | |
auth_partner_view_form |
auth.partner | button | Inherits auth_partner.auth_partner_view_form | |
fastapi_endpoint_view_form |
fastapi.endpoint | span | Inherits fastapi.fastapi_endpoint_form_view | |
wizard_auth_partner_impersonate_view_form |
wizard.auth.partner.impersonate | form | New | |
wizard_auth_partner_reset_password_view_form |
wizard.auth.partner.reset.password | group | Inherits auth_partner.wizard_auth_partner_reset_password_view_form |
cookie_duration
Integer
default=525600
help='In minute, default 525600 minutes => 1 year'
required=True
cookie_secret_key
Char
default=<expr>
groups='base.group_system'
help='The secret key used to sign the cookie'
required=True
fastapi_endpoint_ids
One2many → fastapi.endpoint
string='FastAPI Endpoints'
args: 'fastapi.endpoint', 'directory_id'
sliding_session
Boolean
action_regenerate_cookie_secret_key(self)
No new fields.
Public methods (1)local_impersonate(self)
directory_id
Many2one → auth.directory
endpoint_id
Many2one → fastapi.endpoint
required=True
args: 'fastapi.endpoint'
new(self, vals, **kwargs)
app
Selection
ondelete={'demo': 'cascade'}
selection_add=[('demo', 'Demo Endpoint')]
demo_auth_method
Selection
selection_add=[('auth_partner', 'Partner Auth')]
string='Authentication method'
directory_id
Many2one → auth.directory
is_auth_partner
Boolean
compute='_compute_is_auth_partner'
help='Technical field to know if the auth method is partner'
No public methods.
auth_directory_id
Many2one → auth.directory
related='auth_partner_id.directory_id'
args: 'auth.directory'
auth_partner_id
Many2one → auth.partner
required=True
args: 'auth.partner'
fastapi_endpoint_id
Many2one → fastapi.endpoint
required=True
args: 'fastapi.endpoint'
action_impersonate(self)
fastapi_endpoint_id
Many2one → fastapi.endpoint
action_reset_password(self)