From 0fa37087a0ed5b8f24a16ca9a5e9bd7f56aa56b5 Mon Sep 17 00:00:00 2001
From: Nils Coenen
Date: Wed, 9 Oct 2024 12:32:02 +0200
Subject: [PATCH] [MIG] website_odoo_debranding: Migration to 18.0
---
website_odoo_debranding/README.rst | 10 +++++-----
website_odoo_debranding/__manifest__.py | 2 +-
.../static/description/index.html | 17 ++++++++++-------
website_odoo_debranding/tests/__init__.py | 1 +
website_odoo_debranding/tests/test_dummy.py | 7 +++++++
5 files changed, 24 insertions(+), 13 deletions(-)
create mode 100644 website_odoo_debranding/tests/__init__.py
create mode 100644 website_odoo_debranding/tests/test_dummy.py
diff --git a/website_odoo_debranding/README.rst b/website_odoo_debranding/README.rst
index 3ca0c59660..cbf374f04e 100644
--- a/website_odoo_debranding/README.rst
+++ b/website_odoo_debranding/README.rst
@@ -17,13 +17,13 @@ Remove Odoo Branding from Website
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
- :target: https://github.com/OCA/website/tree/17.0/website_odoo_debranding
+ :target: https://github.com/OCA/website/tree/18.0/website_odoo_debranding
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/website-17-0/website-17-0-website_odoo_debranding
+ :target: https://translation.odoo-community.org/projects/website-18-0/website-18-0-website_odoo_debranding
: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/website&target_branch=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -50,7 +50,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.
@@ -90,6 +90,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/website `_ project on GitHub.
+This module is part of the `OCA/website `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/website_odoo_debranding/__manifest__.py b/website_odoo_debranding/__manifest__.py
index e27ff9f379..ce5621f529 100644
--- a/website_odoo_debranding/__manifest__.py
+++ b/website_odoo_debranding/__manifest__.py
@@ -2,7 +2,7 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Remove Odoo Branding from Website",
- "version": "17.0.1.0.0",
+ "version": "18.0.1.0.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/website",
"license": "LGPL-3",
diff --git a/website_odoo_debranding/static/description/index.html b/website_odoo_debranding/static/description/index.html
index 77227d1303..b7e0462294 100644
--- a/website_odoo_debranding/static/description/index.html
+++ b/website_odoo_debranding/static/description/index.html
@@ -8,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
+:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
+Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { color: grey; } /* line numbers */
+pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -368,7 +369,7 @@ Remove Odoo Branding from Website
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b77bb9badf3de8cdfa3c273a437992e365d3c83e60843c27e117674b8f2cbbe9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module remove Odoo branding on website:
- Remove “Powered by Odoo” from footer
@@ -397,7 +398,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.
@@ -427,11 +428,13 @@
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/website project on GitHub.
+
This module is part of the OCA/website project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/website_odoo_debranding/tests/__init__.py b/website_odoo_debranding/tests/__init__.py
new file mode 100644
index 0000000000..9eb66b83c4
--- /dev/null
+++ b/website_odoo_debranding/tests/__init__.py
@@ -0,0 +1 @@
+from . import test_dummy
diff --git a/website_odoo_debranding/tests/test_dummy.py b/website_odoo_debranding/tests/test_dummy.py
new file mode 100644
index 0000000000..ca1b61a02d
--- /dev/null
+++ b/website_odoo_debranding/tests/test_dummy.py
@@ -0,0 +1,7 @@
+from odoo.tests.common import TransactionCase
+
+
+class TestDummy(TransactionCase):
+ def test_dummy(self):
+ """Dummy test to avoid warnings"""
+ self.assertTrue(True)