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

Module: POS - HR

Entity: pos.session

Compute Method: _compute_logged_employee_ids

Inputs Method Outputs
for session in self:
            employee = session.employee_id
            if employee and employee.id not in session.logged_employee_ids.ids:
                session.logged_employee_ids |= employee

Back to entity