TIP: You can type at any time to perform a new search.
Product EPREL
product_eprel · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Uncategorized
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/product-attribute
- Last tracking update
- 2026-08-07 08:42:54
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Weblate, OCA-git-bot, oca-ci, juancarlosonate-tecnativa, eduezerouali-tecnativa
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- website_sale_product_eprel
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.eprel.api | res.config.settings | form | Inherits base.res_config_settings_view_form |
view_product_category_form_eprel |
product.category.form.eprel | product.category | form | Inherits product.product_category_form_view |
view_product_template_form_eprel |
product.template.form.eprel | product.template | form | Inherits product.product_template_form_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (6)
New fields (1)
-
eprel_category_idMany2one → product.category.eprelcomodel_name='product.category.eprel'string='EPREL Category'
No public methods.
New fields (2)
-
codeCharrequired=True -
nameCharrequired=Truestring='Product group'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
action_get_eprel_registration_number(self)
New fields (8)
-
eprel_enabledBooleancompute='_compute_eprel_enabled'string='EPREL Enabled' -
eprel_energy_classCharcopy=Falsehelp='Energy class label fetched from EPREL (e.g. A, B, C).'string='Energy Class' -
eprel_energy_class_imageCharcopy=Falsestring='Energy Class Image' -
eprel_model_identifierCharcopy=Falsestring='Model Identifier' -
eprel_registration_numberCharcopy=Falsehelp='The EPREL registration number fetched from the API.'string='EPREL Registration Number' -
fiche_urlCharcompute='_compute_eprel_url'readonly=Truestore=Truestring='Fiche URL' -
label_arrow_urlCharcompute='_compute_eprel_url'readonly=Truestore=Truestring='Label Arrow URL' -
label_urlCharcompute='_compute_eprel_url'readonly=Truestore=Truestring='Label URL'
-
action_get_eprel_registration_number(self)
New fields (1)
-
eprel_api_keyCharstring='API Key'
No public methods.
New fields (1)
-
eprel_api_keyCharreadonly=Falserelated='company_id.eprel_api_key'
No public methods.
Loading…