From faadecca2fc00400403e455f38e1ea466f21e6bb Mon Sep 17 00:00:00 2001
From: ellbristow
Date: Thu, 9 Jan 2025 12:34:28 +0100
Subject: [PATCH] [MIG] Initial migration to 18.0
---
mail_debrand/README.rst | 10 +++++-----
mail_debrand/__manifest__.py | 2 +-
mail_debrand/static/description/index.html | 6 +++---
mail_debrand/tests/test_mail_debrand_digest.py | 3 +--
4 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/mail_debrand/README.rst b/mail_debrand/README.rst
index 675fdf790c..8984ace7d8 100644
--- a/mail_debrand/README.rst
+++ b/mail_debrand/README.rst
@@ -17,13 +17,13 @@ Mail Debrand
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
- :target: https://github.com/OCA/social/tree/17.0/mail_debrand
+ :target: https://github.com/OCA/social/tree/18.0/mail_debrand
:alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_debrand
+ :target: https://translation.odoo-community.org/projects/social-18-0/social-18-0-mail_debrand
: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/social&target_branch=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -74,7 +74,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.
@@ -126,6 +126,6 @@ Current `maintainers `__:
|maintainer-pedrobaeza| |maintainer-joao-p-marques|
-This module is part of the `OCA/social `_ project on GitHub.
+This module is part of the `OCA/social `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/mail_debrand/__manifest__.py b/mail_debrand/__manifest__.py
index c6e88bccc9..3c4a593c4e 100644
--- a/mail_debrand/__manifest__.py
+++ b/mail_debrand/__manifest__.py
@@ -12,7 +12,7 @@
( for powerd by) form all the templates
removes any 'odoo' that are in tempalte texts > 20characters
""",
- "version": "17.0.1.0.0",
+ "version": "18.0.1.0.0",
"category": "Social Network",
"website": "https://github.com/OCA/social",
"author": """Tecnativa, ForgeFlow, Onestein, Sodexis, Nexterp Romania,
diff --git a/mail_debrand/static/description/index.html b/mail_debrand/static/description/index.html
index ba658628d3..cc8c6d532f 100644
--- a/mail_debrand/static/description/index.html
+++ b/mail_debrand/static/description/index.html
@@ -368,7 +368,7 @@ Mail Debrand
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8894aff06c4c2d15c42f627ef109899961a28b70155b30b6fa26dfa1508c4594
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module modifies the functionality of emails to remove the Odoo
branding, specifically the ‘Powered by Odoo’
Table of contents
@@ -429,7 +429,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.
diff --git a/mail_debrand/tests/test_mail_debrand_digest.py b/mail_debrand/tests/test_mail_debrand_digest.py
index 7f60311a0b..14f8b9e5ad 100644
--- a/mail_debrand/tests/test_mail_debrand_digest.py
+++ b/mail_debrand/tests/test_mail_debrand_digest.py
@@ -7,7 +7,6 @@
from werkzeug.urls import url_join
-from odoo import _
from odoo.tests import common, tagged
@@ -41,7 +40,7 @@ def test_mail_digest(self):
engine="qweb_view",
add_context={
"title": self.mail_digest_id.name,
- "top_button_label": _("Connect"),
+ "top_button_label": self.env._("Connect"),
"top_button_url": url_join(web_base_url, "/web/login"),
"company": self.env.user.company_id,
"user": self.env.user,