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

Module: Product State

Entity: product.template

Compute Method: _compute_product_state

Inputs Method Outputs
for product_tmpl in self:
            product_tmpl.state = product_tmpl.product_state_id.code

Back to entity