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

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

Back to entity