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

Module: Product Status

Entity: product.product

Compute Method: _compute_has_status_date

Inputs Method Outputs
for rec in self:
            res = rec.end_of_life_date or rec.discontinued_until or rec.new_until
            rec.has_status_date = bool(res)

Back to entity