Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Vault

Entity: res.users.key

Compute Method: _compute_fingerprint

View 18.0
Inputs Method Outputs
  • public
- for rec in self:
-             if rec.public:
-                 hashed = sha256(rec.public.encode()).hexdigest()
-                 rec.fingerprint = ":".join(re.findall(r".{2}", hashed))
-             else:
-                 rec.fingerprint = False
  • fingerprint

Back to entity