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

Module: Sales Teams

Entity: crm.team

Compute Method: _compute_is_favorite

Inputs Method Outputs
for team in self:
            team.is_favorite = self.env.user in team.favorite_user_ids

Back to entity