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

Module: POS Self Order

Entity: pos.config

Compute Method: _compute_status

Inputs Method Outputs
  • current_session_id
for record in self:
            record.status = 'active' if record.current_session_id else 'inactive'

Back to entity