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

Module: Base

Entity: res.device.log

Compute Method: _compute_is_current

View 18.0
Inputs Method Outputs
  • session_identifier
- for device in self:
-             device.is_current = request and request.session.sid.startswith(device.session_identifier)
  • is_current

Back to entity