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_tracking

View 17.0 View 18.0
Inputs Method Outputs
- self.filtered(
-             lambda t: not t.tracking or t.type in ('consu', 'service')  and t.tracking != 'none'
-         ).tracking = 'none'
+ self.filtered(lambda t: not t.is_storable and t.tracking != 'none').tracking = 'none'

Back to entity