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

Module: Test HTTP

Entity: test_http.stargate

Compute Method: _compute_has_galaxy_crystal

Inputs Method Outputs
milky_way = self.env.ref('test_http.milky_way')
for gate in self:
            gate.has_galaxy_crystal = gate.galaxy_id == milky_way

Back to entity