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_allowed_internal_user_ids
| Inputs | Method | Outputs |
|---|---|---|
|
+ for project in self: + if project.company_id and project.allowed_internal_user_ids: + project.allowed_internal_user_ids = project.allowed_internal_user_ids.filtered( + lambda u: project.company_id in u.company_ids._origin + ) + if project.user_id and project.privacy_visibility in ['followers', 'invited_users']: + project.allowed_internal_user_ids |= project.user_id |
|
