Repository
OCA/server-tools · module folder · Try on Runboat
Module version
2.2.0
Category
Tools
Folder size
0.38 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/server-tools
Last tracking update
2026-08-07 07:17:48
Authors
Odoo Community Association (OCA), GRAP, Tecnativa
Maintainers
Odoo Community Association (OCA), GRAP, Tecnativa
Committers
Stefan Rijnhart, Pedro M. Baeza, GitHub, Jairo Llopis, Weblate, OCA Transbot, oca-travis
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_res_authentication_attempt_form res.authentication.attempt form New
view_res_authentication_attempt_graph res.authentication.attempt graph New
view_res_authentication_attempt_search res.authentication.attempt search New
view_res_authentication_attempt_tree res.authentication.attempt tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (5)
  • login Char
    index=True string='Tried Login'
  • remote Char
    index=True string='Remote IP'
  • remote_metadata Text
    compute='_compute_metadata' help='Metadata publicly available for remote IP' string='Remote IP metadata'
  • result Selection
    index=True selection=[('successful', 'Successful'), ('failed', 'Failed'), ('banned', 'Banned')] string='Authentication Result'
  • whitelisted Boolean
    compute='_compute_whitelisted'
Public methods (2)
  • action_whitelist_add(self)
    @api.multi
    Add current remotes to whitelist.
  • action_whitelist_remove(self)
    @api.multi
    Remove current remotes from whitelist.

New fields (0)

No new fields.

Public methods (2)
  • authenticate(cls, db, login, password, user_agent_env)
    @classmethod
  • check_credentials(self, password)
    @api.model
    This is the most important and specific auth check method. When we get here, it means that Odoo already checked the user exists in this database. Other auth methods usually plug here.

Loading…

Loading…