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.team.repository

Compute Method: _compute_context_search_default

View 17.0
Inputs Method Outputs
- """Compute the context value for the search terms
-         into helper fields for the view
-         """
- for record in self:
-             record.context_search_default_team_id = self.env.context.get(
-                 "search_default_team_id", False
-             )
-             record.context_search_default_repository_id = self.env.context.get(
-                 "search_default_repository_id", False
-             )
  • context_search_default_team_id
  • context_search_default_repository_id

Back to entity