Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Github Connector
Entity: github.repository
Compute Method: _compute_ignore
| Inputs | Method | Outputs |
|---|---|---|
|
- for repository in self: - ignored_txt = repository.organization_id.ignored_repository_names - repository.is_ignored = ( - ignored_txt and repository.name in ignored_txt.split("\n") - ) - repository.color = repository.is_ignored and 1 or 0 |
|
