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

Module: Test ORM

Entity: test_performance.base

Compute Method: _value_ctx

Inputs Method Outputs
self.env.cr.execute('SELECT 42')
for record in self:
            record.value_ctx = self.env.context.get('key')

Back to entity