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
| Inputs | Method | Outputs |
|---|---|---|
|
- 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 |
|
