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

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

Back to entity