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

Module: Product EPREL

Entity: product.template

Compute Method: _compute_eprel_enabled

Inputs Method Outputs
for rec in self:
            rec.eprel_enabled = bool(rec.env.company.eprel_api_key)

Back to entity