From 349c2531e27e1710ab46dc7aa7aca5cc85cd74fe Mon Sep 17 00:00:00 2001
From: juancarlosonate-tecnativa
Date: Tue, 29 Jul 2025 17:00:40 +0200
Subject: [PATCH 1/3] [ADD] website_sale_product_eprel
TT57294
---
website_sale_product_eprel/README.rst | 79 ++++
website_sale_product_eprel/__init__.py | 0
website_sale_product_eprel/__manifest__.py | 13 +
website_sale_product_eprel/i18n/es.po | 26 ++
.../i18n/website_sale_product_eprel.pot | 26 ++
.../readme/CONTRIBUTORS.md | 2 +
.../readme/DESCRIPTION.md | 1 +
.../static/description/index.html | 427 ++++++++++++++++++
.../views/templates.xml | 28 ++
9 files changed, 602 insertions(+)
create mode 100644 website_sale_product_eprel/README.rst
create mode 100644 website_sale_product_eprel/__init__.py
create mode 100644 website_sale_product_eprel/__manifest__.py
create mode 100644 website_sale_product_eprel/i18n/es.po
create mode 100644 website_sale_product_eprel/i18n/website_sale_product_eprel.pot
create mode 100644 website_sale_product_eprel/readme/CONTRIBUTORS.md
create mode 100644 website_sale_product_eprel/readme/DESCRIPTION.md
create mode 100644 website_sale_product_eprel/static/description/index.html
create mode 100644 website_sale_product_eprel/views/templates.xml
diff --git a/website_sale_product_eprel/README.rst b/website_sale_product_eprel/README.rst
new file mode 100644
index 0000000000..f20a5c2750
--- /dev/null
+++ b/website_sale_product_eprel/README.rst
@@ -0,0 +1,79 @@
+==========================
+Website Sale Product Eprel
+==========================
+
+..
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! This file is generated by oca-gen-addon-readme !!
+ !! changes will be overwritten. !!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! source digest: sha256:64640ffadff0213a6bd716e0ff736f57d825f1bccfef61dc935670e0c32f8053
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
+ :target: https://odoo-community.org/page/development-status
+ :alt: Beta
+.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
+ :alt: License: AGPL-3
+.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github
+ :target: https://github.com/OCA/e-commerce/tree/14.0/website_sale_product_eprel
+ :alt: OCA/e-commerce
+.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
+ :target: https://translation.odoo-community.org/projects/e-commerce-14-0/e-commerce-14-0-website_sale_product_eprel
+ :alt: Translate me on Weblate
+.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=14.0
+ :alt: Try me on Runboat
+
+|badge1| |badge2| |badge3| |badge4| |badge5|
+
+Adds EPREL energy label and product information sheet links to the
+website product page.
+
+**Table of contents**
+
+.. contents::
+ :local:
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues `_.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us to smash it by providing a detailed and welcomed
+`feedback `_.
+
+Do not contact contributors directly about support or help with technical issues.
+
+Credits
+=======
+
+Authors
+-------
+
+* Tecnativa
+
+Contributors
+------------
+
+- `Tecnativa `__
+
+ - Juan Carlos Oñate
+
+Maintainers
+-----------
+
+This module is maintained by the OCA.
+
+.. image:: https://odoo-community.org/logo.png
+ :alt: Odoo Community Association
+ :target: https://odoo-community.org
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+This module is part of the `OCA/e-commerce `_ project on GitHub.
+
+You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/website_sale_product_eprel/__init__.py b/website_sale_product_eprel/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/website_sale_product_eprel/__manifest__.py b/website_sale_product_eprel/__manifest__.py
new file mode 100644
index 0000000000..94127dc6b4
--- /dev/null
+++ b/website_sale_product_eprel/__manifest__.py
@@ -0,0 +1,13 @@
+{
+ "name": "Website Sale Product Eprel",
+ "summary": "Display EPREL energy label and product info on website product page.",
+ "version": "14.0.1.0.0",
+ "author": "Tecnativa, Odoo Community Association (OCA)",
+ "website": "https://github.com/OCA/e-commerce",
+ "license": "AGPL-3",
+ "depends": ["product_eprel", "website_sale"],
+ "data": [
+ "views/templates.xml",
+ ],
+ "installable": True,
+}
diff --git a/website_sale_product_eprel/i18n/es.po b/website_sale_product_eprel/i18n/es.po
new file mode 100644
index 0000000000..c1a9b60d44
--- /dev/null
+++ b/website_sale_product_eprel/i18n/es.po
@@ -0,0 +1,26 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * website_sale_product_eprel
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 14.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2025-07-29 14:39+0000\n"
+"PO-Revision-Date: 2025-07-29 14:39+0000\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: website_sale_product_eprel
+#: model_terms:ir.ui.view,arch_db:website_sale_product_eprel.product_eprel_label
+msgid "Energy Efficiency Label"
+msgstr "Etiqueta de eficiencia energética"
+
+#. module: website_sale_product_eprel
+#: model_terms:ir.ui.view,arch_db:website_sale_product_eprel.product_eprel_label
+msgid "Product Information Sheet"
+msgstr "Ficha de información del producto"
\ No newline at end of file
diff --git a/website_sale_product_eprel/i18n/website_sale_product_eprel.pot b/website_sale_product_eprel/i18n/website_sale_product_eprel.pot
new file mode 100644
index 0000000000..927a645224
--- /dev/null
+++ b/website_sale_product_eprel/i18n/website_sale_product_eprel.pot
@@ -0,0 +1,26 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * website_sale_product_eprel
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 14.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2025-07-29 14:38+0000\n"
+"PO-Revision-Date: 2025-07-29 14:38+0000\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: website_sale_product_eprel
+#: model_terms:ir.ui.view,arch_db:website_sale_product_eprel.product_eprel_label
+msgid "Energy Efficiency Label"
+msgstr ""
+
+#. module: website_sale_product_eprel
+#: model_terms:ir.ui.view,arch_db:website_sale_product_eprel.product_eprel_label
+msgid "Product Information Sheet"
+msgstr ""
diff --git a/website_sale_product_eprel/readme/CONTRIBUTORS.md b/website_sale_product_eprel/readme/CONTRIBUTORS.md
new file mode 100644
index 0000000000..18e68214cf
--- /dev/null
+++ b/website_sale_product_eprel/readme/CONTRIBUTORS.md
@@ -0,0 +1,2 @@
+- [Tecnativa](https://www.tecnativa.com)
+ - Juan Carlos Oñate
diff --git a/website_sale_product_eprel/readme/DESCRIPTION.md b/website_sale_product_eprel/readme/DESCRIPTION.md
new file mode 100644
index 0000000000..20b4d219b5
--- /dev/null
+++ b/website_sale_product_eprel/readme/DESCRIPTION.md
@@ -0,0 +1 @@
+Adds EPREL energy label and product information sheet links to the website product page.
diff --git a/website_sale_product_eprel/static/description/index.html b/website_sale_product_eprel/static/description/index.html
new file mode 100644
index 0000000000..706bc3ca8f
--- /dev/null
+++ b/website_sale_product_eprel/static/description/index.html
@@ -0,0 +1,427 @@
+
+
+
+
+
+Website Sale Product Eprel
+
+
+
+
+
Website Sale Product Eprel
+
+
+

+
Adds EPREL energy label and product information sheet links to the
+website product page.
+
Table of contents
+
+
+
+
Bugs are tracked on GitHub Issues.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us to smash it by providing a detailed and welcomed
+feedback.
+
Do not contact contributors directly about support or help with technical issues.
+
+
+
+
+
+
+
+
This module is maintained by the OCA.
+
+
+
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
This module is part of the OCA/e-commerce project on GitHub.
+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
+
+
+
+
+
diff --git a/website_sale_product_eprel/views/templates.xml b/website_sale_product_eprel/views/templates.xml
new file mode 100644
index 0000000000..aace8d307f
--- /dev/null
+++ b/website_sale_product_eprel/views/templates.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
From 4334e7a9da55dee100796c540f066f1f9c83da21 Mon Sep 17 00:00:00 2001
From: pilarvargas-tecnativa
Date: Fri, 21 Nov 2025 10:17:42 +0100
Subject: [PATCH 2/3] [IMP] website_sale_product_eprel: pre-commit auto fixes
---
website_sale_product_eprel/README.rst | 10 +++---
website_sale_product_eprel/pyproject.toml | 3 ++
.../static/description/index.html | 6 ++--
.../views/templates.xml | 32 +++++++++++--------
4 files changed, 29 insertions(+), 22 deletions(-)
create mode 100644 website_sale_product_eprel/pyproject.toml
diff --git a/website_sale_product_eprel/README.rst b/website_sale_product_eprel/README.rst
index f20a5c2750..98c6aa387f 100644
--- a/website_sale_product_eprel/README.rst
+++ b/website_sale_product_eprel/README.rst
@@ -17,13 +17,13 @@ Website Sale Product Eprel
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github
- :target: https://github.com/OCA/e-commerce/tree/14.0/website_sale_product_eprel
+ :target: https://github.com/OCA/e-commerce/tree/18.0/website_sale_product_eprel
:alt: OCA/e-commerce
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/e-commerce-14-0/e-commerce-14-0-website_sale_product_eprel
+ :target: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_eprel
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
- :target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=14.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -42,7 +42,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues `_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -74,6 +74,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-This module is part of the `OCA/e-commerce `_ project on GitHub.
+This module is part of the `OCA/e-commerce `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/website_sale_product_eprel/pyproject.toml b/website_sale_product_eprel/pyproject.toml
new file mode 100644
index 0000000000..4231d0cccb
--- /dev/null
+++ b/website_sale_product_eprel/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/website_sale_product_eprel/static/description/index.html b/website_sale_product_eprel/static/description/index.html
index 706bc3ca8f..a675554f59 100644
--- a/website_sale_product_eprel/static/description/index.html
+++ b/website_sale_product_eprel/static/description/index.html
@@ -369,7 +369,7 @@ Website Sale Product Eprel
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:64640ffadff0213a6bd716e0ff736f57d825f1bccfef61dc935670e0c32f8053
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

Adds EPREL energy label and product information sheet links to the
website product page.
Table of contents
@@ -389,7 +389,7 @@
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
-feedback.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -418,7 +418,7 @@
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-
This module is part of the OCA/e-commerce project on GitHub.
+
This module is part of the OCA/e-commerce project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/website_sale_product_eprel/views/templates.xml b/website_sale_product_eprel/views/templates.xml
index aace8d307f..376e8164f1 100644
--- a/website_sale_product_eprel/views/templates.xml
+++ b/website_sale_product_eprel/views/templates.xml
@@ -1,28 +1,32 @@
-
-
-
-
+
+
+
From d852f7aac6f273d46afdf07a296774f49e0d3ae6 Mon Sep 17 00:00:00 2001
From: pilarvargas-tecnativa
Date: Fri, 21 Nov 2025 10:32:18 +0100
Subject: [PATCH 3/3] [MIG] website_sale_product_eprel: Migration to version
18.0
TT58478
---
website_sale_product_eprel/README.rst | 4 ++--
website_sale_product_eprel/__manifest__.py | 2 +-
website_sale_product_eprel/views/templates.xml | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/website_sale_product_eprel/README.rst b/website_sale_product_eprel/README.rst
index 98c6aa387f..ee0e85fbcb 100644
--- a/website_sale_product_eprel/README.rst
+++ b/website_sale_product_eprel/README.rst
@@ -57,9 +57,9 @@ Authors
Contributors
------------
-- `Tecnativa `__
+- `Tecnativa `__
- - Juan Carlos Oñate
+ - Juan Carlos Oñate
Maintainers
-----------
diff --git a/website_sale_product_eprel/__manifest__.py b/website_sale_product_eprel/__manifest__.py
index 94127dc6b4..a0c828e7f4 100644
--- a/website_sale_product_eprel/__manifest__.py
+++ b/website_sale_product_eprel/__manifest__.py
@@ -1,7 +1,7 @@
{
"name": "Website Sale Product Eprel",
"summary": "Display EPREL energy label and product info on website product page.",
- "version": "14.0.1.0.0",
+ "version": "18.0.1.0.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/e-commerce",
"license": "AGPL-3",
diff --git a/website_sale_product_eprel/views/templates.xml b/website_sale_product_eprel/views/templates.xml
index 376e8164f1..ed05c266a6 100644
--- a/website_sale_product_eprel/views/templates.xml
+++ b/website_sale_product_eprel/views/templates.xml
@@ -6,9 +6,9 @@
customize_show="True"
name="EPREL: Energy Label in Product Page"
>
-
+
-