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_orm.order.line

Compute Method: _compute_has_been_rewarded

Inputs Method Outputs
for rec in self:
            if rec.reward:
                rec.has_been_rewarded = 'Yes'

Back to entity