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

Module: Product Route Mto

Entity: product.template

Compute Method: _compute_is_mto

Inputs Method Outputs
  • route_ids
  • route_from_categ_ids
for template in self:
            template.is_mto = bool(
                (template.route_ids | template.route_from_categ_ids).filtered("is_mto")
            )

Back to entity