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

Module: Project

Entity: project.project

Compute Method: _compute_is_favorite

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

Back to entity