Product EPREL

product_eprel
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/18.0/product_eprel
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, juancarlosonate-tecnativa, eduezerouali-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module connects Odoo with the EPREL API to fetch energy labels and fiches
for products that have a model identifier and an EPREL product category. It
retrieves the EPREL registration number and builds URLs.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.eprel.api res.config.settings xpath Inherits base.res_config_settings_view_form
view_product_category_form_eprel product.category.form.eprel product.category xpath Inherits product.product_category_form_view
view_product_template_form_eprel product.template.form.eprel product.template xpath Inherits product.product_template_form_view
Models touched (6)

New fields (1)
  • eprel_category_id Many2one → product.category.eprel
    comodel_name='product.category.eprel' string='EPREL Category'
Public methods (0)

No public methods.

New fields (2)
  • code Char
    required=True
  • name Char
    required=True string='Product group'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_get_eprel_registration_number(self)

New fields (8)
  • eprel_enabled Boolean
    compute='_compute_eprel_enabled' string='EPREL Enabled'
  • eprel_energy_class Char
    copy=False help='Energy class label fetched from EPREL (e.g. A, B, C).' string='Energy Class'
  • eprel_energy_class_image Char
    copy=False string='Energy Class Image'
  • eprel_model_identifier Char
    copy=False string='Model Identifier'
  • eprel_registration_number Char
    copy=False help='The EPREL registration number fetched from the API.' string='EPREL Registration Number'
  • fiche_url Char
    compute='_compute_eprel_url' readonly=True store=True string='Fiche URL'
  • label_arrow_url Char
    compute='_compute_eprel_url' readonly=True store=True string='Label Arrow URL'
  • label_url Char
    compute='_compute_eprel_url' readonly=True store=True string='Label URL'
Public methods (1)
  • action_get_eprel_registration_number(self)

New fields (1)
  • eprel_api_key Char
    string='API Key'
Public methods (0)

No public methods.

New fields (1)
  • eprel_api_key Char
    readonly=False related='company_id.eprel_api_key'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/14.0/product_eprel
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, juancarlosonate-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 18:50:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module connects Odoo with the EPREL API to fetch energy labels and fiches
for products that have a model identifier and an EPREL product category. It
retrieves the EPREL registration number and builds URLs.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.eprel.api res.config.settings xpath Inherits base.res_config_settings_view_form
view_product_category_form_eprel product.category.form.eprel product.category xpath Inherits product.product_category_form_view
view_product_template_form_eprel product.template.form.eprel product.template xpath Inherits product.product_template_form_view
Models touched (6)

New fields (1)
  • eprel_category_id Many2one → product.category.eprel
    comodel_name='product.category.eprel' string='EPREL Category'
Public methods (0)

No public methods.

New fields (2)
  • code Char
    required=True string='Code'
  • name Char
    required=True string='Product group'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_get_eprel_registration_number(self)

New fields (7)
  • eprel_enabled Boolean
    compute='_compute_eprel_enabled' string='EPREL Enabled'
  • eprel_energy_class_image Char
    copy=False string='Energy Class Image'
  • eprel_model_identifier Char
    copy=False string='Model Identifier'
  • eprel_registration_number Char
    copy=False help='The EPREL registration number fetched from the API.' string='EPREL Registration Number'
  • fiche_url Char
    compute='_compute_eprel_url' readonly=True store=True string='Fiche URL'
  • label_arrow_url Char
    compute='_compute_eprel_url' readonly=True store=True string='Label Arrow URL'
  • label_url Char
    compute='_compute_eprel_url' readonly=True store=True string='Label URL'
Public methods (1)
  • action_get_eprel_registration_number(self)

New fields (1)
  • eprel_api_key Char
    string='API Key'
Public methods (0)

No public methods.

New fields (1)
  • eprel_api_key Char
    readonly=False related='company_id.eprel_api_key'
Public methods (0)

No public methods.