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

Module: Operating Unit in Products

Entity: product.template

Compute Method: _compute_operating_unit_ids

Inputs Method Outputs
for record in self:
            record.operating_unit_ids = [
                Command.set(record.categ_id.operating_unit_ids.ids)
            ]

Back to entity