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

Module: Product Abc Classification

Entity: abc.classification.product.level

Compute Method: _compute_level_id

Inputs Method Outputs
for rec in self:
            if rec.manual_level_id:
                rec.level_id = rec.manual_level_id
            else:
                rec.level_id = rec.computed_level_id

Back to entity