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

Module: Initial Setup Tools

Entity: res.config.settings

Compute Method: _compute_active_user_count

Inputs Method Outputs
active_user_count = self.env['res.users'].sudo().search_count([('share', '=', False)])
for record in self:
            record.active_user_count = active_user_count

Back to entity