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

Module: DDMRP Product Replace

Entity: stock.buffer

Compute Method: _compute_is_replacement_product

Inputs Method Outputs
for rec in self:
            rec.is_replacement_product = (
                rec.replacement_for_ids and not rec.replaced_by_id
            )

Back to entity