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

Module: Inventory

Entity: product.template

Compute Method: _compute_has_available_route_ids

Inputs Method Outputs
self.has_available_route_ids = self.env['stock.route'].search_count([('product_selectable', '=', True)])

Back to entity