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.partner

Compute Method: _compute_context_search_default

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_partner_id = self.env.context.get(
                "search_default_partner_id", False
            )

Back to entity