Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] mail_debrand: Migration to 18.0 #5

Merged
merged 102 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
7903190
[MIG] mail_debrand
pedrobaeza May 15, 2017
56fbef6
OCA Transbot updated translations from Transifex
oca-transbot Jan 27, 2018
0d2b80a
[11.0][MIG] mail_debrand
LoisRForgeFlow Apr 25, 2018
bac3426
[UPD] Update mail_debrand.pot
oca-travis Jun 17, 2018
3c56a2f
Rewrite mail_debrand for v12
gdgellatly Nov 7, 2018
cba98ca
[UPD] Update mail_debrand.pot
oca-travis Nov 8, 2018
c19a23d
[FIX] Parse generated html to remove to remove Odoo branding messages
gdgellatly Dec 27, 2018
d407c0a
[UPD] Update mail_debrand.pot
oca-travis Jun 10, 2019
777e137
[FIX] mail_debrand: Add development_status (#408)
max3903 Jul 11, 2019
b781d66
[UPD] README.rst
OCA-git-bot Jul 11, 2019
e65b793
[12.0][FIX] mail_debrand: debrand regular notifications.
LoisRForgeFlow Jul 16, 2019
db6e665
[UPD] Update mail_debrand.pot
oca-travis Jul 20, 2019
376c2af
mail_debrand 12.0.2.0.1
OCA-git-bot Jul 20, 2019
43d9295
[UPD] README.rst
OCA-git-bot Jul 29, 2019
114dca8
Added translation using Weblate (French)
qgroulard Feb 4, 2020
26e08f7
Added translation using Weblate (Portuguese)
pedrocs-exo Mar 2, 2020
ec59de2
Translated using Weblate (Portuguese)
pedrocs-exo Mar 2, 2020
3c4bed9
Added translation using Weblate (Slovenian)
sysadminmatmoz Mar 19, 2020
5dc01fe
Added translation using Weblate (Serbian (latin))
sysadminmatmoz Mar 19, 2020
38347fb
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 19, 2020
3f83fa3
[MIG] mail_debrand: Migration to v13.0
ValentinVinagre Mar 20, 2020
da9f27f
[UPD] Update mail_debrand.pot
oca-travis Mar 25, 2020
d0531b3
[UPD] README.rst
OCA-git-bot Mar 25, 2020
73ebb80
Update translation files
oca-transbot Mar 29, 2020
0e2431c
Added translation using Weblate (Dutch)
rven Apr 30, 2020
0d2ad73
Translated using Weblate (Dutch)
rven Apr 30, 2020
8efdcc2
Translated using Weblate (French)
Aug 12, 2020
462d44e
Translated using Weblate (French)
Aug 12, 2020
8b0989f
[FIX] support all languages, no need of translations
astirpe Sep 17, 2020
6a6c4c3
[UPD] README.rst
OCA-git-bot Sep 22, 2020
c94361f
mail_debrand 13.0.2.0.0
OCA-git-bot Sep 22, 2020
d926a6f
[FIX] Fixed travis error.
Chandresh-SerpentCS Nov 2, 2020
0bd5f5a
[UPD] README.rst
OCA-git-bot Nov 2, 2020
af36248
mail_debrand 13.0.2.0.1
OCA-git-bot Nov 2, 2020
3bb71ce
[IMP] mail_debrand: black, isort, prettier
atchuthan Jan 5, 2021
4a3a934
[MIG] mail_debrand: Migration to v14
atchuthan Jan 5, 2021
557fb12
also precommit
Jan 12, 2021
81a6ad2
k also send mail
Jan 12, 2021
f1e3bb3
now taking the parent if is td
Jan 22, 2021
0da0e2e
k precommit
Jan 22, 2021
c6b8e26
[FIX] fixed test
atchuthan Feb 5, 2021
f969ec7
I have a fix for the issue, here: ursais@6a3933f
Feb 26, 2021
8ac3e68
[UPD] Update mail_debrand.pot
oca-travis Feb 26, 2021
b72a9e1
[UPD] README.rst
OCA-git-bot Feb 26, 2021
a7decf0
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
13cbc53
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
c6efd36
[FIX] mail_debrand: tolerate binary inputs, solve etree FutureWarning
dreispt Mar 15, 2021
5af4d8b
[FIX] mail_debrand: TypeError: object of type 'NoneType' has no len()
dreispt Mar 19, 2021
5440d84
mail_debrand 14.0.1.0.1
OCA-git-bot Apr 23, 2021
e4c63f5
Added translation using Weblate (Italian)
primes2h May 7, 2021
05fb51a
Translated using Weblate (Italian)
primes2h May 7, 2021
a471a40
Translated using Weblate (Dutch)
bosd May 17, 2021
874bbdb
[FIX] mail_debrand: avoid KeyError: 'body_html' on plain text emails
dreispt May 25, 2021
766f39f
mail_debrand 14.0.1.0.2
OCA-git-bot May 27, 2021
f48e3ef
[14.0] mail_debrand: pass original args to super()
ryanc-me May 18, 2021
099e64e
[IMP] mail_debrand: Split code into model-specific files
ioans73 Jul 22, 2021
a829bb2
[14.0] mail_debrand: Add tests to check that digest emails are render…
ryanc-me May 18, 2021
18fa918
[IMP] mail_debrand: Avoid process each created mail
ioans73 Jul 27, 2021
10e63c7
[UPD] Update mail_debrand.pot
oca-travis Jul 27, 2021
d151fa8
mail_debrand 14.0.2.0.0
OCA-git-bot Jul 27, 2021
3b588f5
Update translation files
oca-transbot Jul 27, 2021
efbbf43
[REF] mail_debrand: Fix FutureWarning: The behavior of this method wi…
moylop260 Aug 29, 2021
521fb95
mail_debrand 14.0.2.0.1
OCA-git-bot Aug 30, 2021
0cff54e
[IMP] mail_debrand: Keep message body intact while removing branding
joao-p-marques Sep 14, 2021
1d6dafa
[UPD] README.rst
OCA-git-bot Sep 16, 2021
aa9f232
Added translation using Weblate (Spanish)
oihane Oct 5, 2021
3e8e03c
Translated using Weblate (Spanish)
oihane Oct 5, 2021
033a00f
Added translation using Weblate (Swedish)
simonstromb Nov 17, 2021
fffdeb2
Translated using Weblate (Swedish)
simonstromb Nov 17, 2021
5fd7f3f
[15.0][MIG]mail_debrand: Migration from 14.0 to 15.0
AlvaroTForgeFlow Dec 16, 2021
9dc5a68
[UPD] Update mail_debrand.pot
Jan 20, 2022
69a758a
[UPD] README.rst
OCA-git-bot Jan 20, 2022
1afd1c5
[15.0][IMP] mail_debrand: Remove Powered by Odoo
MateuGForgeFlow Mar 2, 2022
c64c93b
mail_debrand 15.0.1.1.0
OCA-git-bot Apr 4, 2022
c7caaca
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Apr 6, 2022
0dfd7c5
[UPD] README.rst
OCA-git-bot Apr 7, 2022
28b054e
mail_debrand 15.0.1.2.0
OCA-git-bot Apr 7, 2022
4415677
[FIX] mail_debrand: remove_href_odoo function
miguel-S73 May 23, 2022
9ab7798
mail_debrand 15.0.1.2.1
OCA-git-bot May 31, 2022
fc828fb
[FIX][15.0] mail_debrand: test_mail_digest update for 15.0
dhx Jun 8, 2022
03baeb1
mail_debrand 15.0.1.2.2
OCA-git-bot Jul 18, 2022
608f0a9
[FIX] mail_debrand: Set proper default engine in _render_template() f…
victoralmau Oct 19, 2022
9aa53d3
[16.0][MIG] mail_debrand
LogeshSod Dec 5, 2022
3d99260
[15.0-mail] [FIX] mail_debrand: text/plain issue + TypeError: object …
rven Jul 19, 2022
609d151
[16.0][IMP] mail_debrand
LogeshSod Dec 27, 2022
571bd4c
[UPD] Update mail_debrand.pot
Feb 7, 2023
ca906b3
[UPD] README.rst
OCA-git-bot Feb 7, 2023
8d371f6
Update translation files
weblate Feb 7, 2023
94e17c0
[UPD] README.rst
OCA-git-bot Sep 3, 2023
1f41d11
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
847f0f0
[IMP] mail_debrand: pre-commit auto fixes
gandalfthegreydev Nov 20, 2023
a9c4c71
[FIX] mail_debrand: fix translated branding
StefanRijnhart Dec 28, 2023
d78fb5a
[FIX] mail_debrand: don't remove actual content from auth_signup emai…
StefanRijnhart Jan 4, 2024
3e40047
[IMP] mail_debrand: keep the decoration (grey border) where the brand…
StefanRijnhart Jan 25, 2024
f36431e
[MIG] mail_debrand: Migration to 17.0
nguyenminhchien Apr 5, 2024
86aac35
Translated using Weblate (French)
vincent-hatakeyama Feb 23, 2024
ce4ab6a
[UPD] Update mail_debrand.pot
May 6, 2024
5997392
[BOT] post-merge updates
OCA-git-bot May 6, 2024
7a1906a
Update translation files
weblate Jul 7, 2024
a698e4b
Translated using Weblate (Italian)
mymage Jul 8, 2024
ae98d89
[IMP] mail_debrand: pre-commit auto fixes
jdebetaz Nov 13, 2024
decd514
[MIG] mail_debrand: Migration to 18.0
jdebetaz Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 131 additions & 0 deletions mail_debrand/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
============
Mail Debrand
============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8894aff06c4c2d15c42f627ef109899961a28b70155b30b6fa26dfa1508c4594
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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%2Fmail-lightgray.png?logo=github
:target: https://github.com/OCA/mail/tree/18.0/mail_debrand
:alt: OCA/mail
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/mail-18-0/mail-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/mail&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module modifies the functionality of emails to remove the Odoo
branding, specifically the 'Powered by Odoo'

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

- Install it.
- Send an email.
- Nobody will know it comes from Odoo.

Known issues / Roadmap
======================

Known issues:

- Not all branding is removed from auth_signup's invitation email
because it is a longer, more complex snippet of HTML. Only the line
containing the link to Odoo.com is removed.

Changelog
=========

15.0.1.2.3 (2022-07-19)
-----------------------

- [FIX] https://github.com/OCA/social/issues/915
- [FIX] https://github.com/OCA/social/issues/936

12.0.1.0.0 (2018-11-06)
-----------------------

- [NEW] Initial V12 version. Complete rewrite from v11.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/mail/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 <https://github.com/OCA/mail/issues/new?body=module:%20mail_debrand%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Tecnativa
* ForgeFlow
* Onestein
* Sodexis
* Nexterp Romania

Contributors
------------

- Lois Rilo <[email protected]>
- Graeme Gellatly <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__:

- Pedro M. Baeza
- João Marques

- Stefan Rijnhart [email protected]

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.

.. |maintainer-pedrobaeza| image:: https://github.com/pedrobaeza.png?size=40px
:target: https://github.com/pedrobaeza
:alt: pedrobaeza
.. |maintainer-joao-p-marques| image:: https://github.com/joao-p-marques.png?size=40px
:target: https://github.com/joao-p-marques
:alt: joao-p-marques

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-pedrobaeza| |maintainer-joao-p-marques|

This module is part of the `OCA/mail <https://github.com/OCA/mail/tree/18.0/mail_debrand>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions mail_debrand/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
25 changes: 25 additions & 0 deletions mail_debrand/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2016 Tecnativa - Jairo Llopis
# Copyright 2017 Tecnativa - Pedro M. Baeza
# Copyright 2019 ForgeFlow S.L. - Lois Rilo <[email protected]>
# 2020 NextERP Romania
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Mail Debrand",
"summary": """Remove Odoo branding in sent emails
Removes anchor <a href odoo.com togheder with it's parent
( for powerd by) form all the templates
removes any 'odoo' that are in tempalte texts > 20characters
""",
"version": "18.0.1.0.0",
"category": "Social Network",
"website": "https://github.com/OCA/mail",
"author": """Tecnativa, ForgeFlow, Onestein, Sodexis, Nexterp Romania,
Odoo Community Association (OCA)""",
"license": "AGPL-3",
"installable": True,
"depends": ["mail"],
"development_status": "Production/Stable",
"maintainers": ["pedrobaeza", "joao-p-marques"],
}
40 changes: 40 additions & 0 deletions mail_debrand/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_debrand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-09-03 13:36+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: mail_debrand
#. odoo-python
#: code:addons/mail_debrand/tests/test_mail_debrand_digest.py:0
#, python-format
msgid "Connect"
msgstr "Conectar"

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_render_mixin
msgid "Mail Render Mixin"
msgstr "Mezcla de renderizado de correo"

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_mail
msgid "Outgoing Mails"
msgstr "Correos salientes"

#~ msgid "Display Name"
#~ msgstr "Nombre mostrado"

#~ msgid "Last Modified on"
#~ msgstr "Última modificación en"
49 changes: 49 additions & 0 deletions mail_debrand/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_debrand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-23 16:34+0000\n"
"Last-Translator: Vincent Hatakeyama <[email protected]>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: mail_debrand
#. odoo-python
#: code:addons/mail_debrand/tests/test_mail_debrand_digest.py:0
#, python-format
msgid "Connect"
msgstr "Connexion"

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_render_mixin
msgid "Mail Render Mixin"
msgstr "Mixin de rendu de courriel"

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_mail
msgid "Outgoing Mails"
msgstr "Courriels sortants"

#~ msgid "Email Templates"
#~ msgstr "Modèles d'emails"

#~ msgid "Email Thread"
#~ msgstr "Discussion par email"

#~ msgid "Odoo"
#~ msgstr "Odoo"

#~ msgid "Powered by"
#~ msgstr "Propulsé par"

#~ msgid "using"
#~ msgstr "utilisant"
40 changes: 40 additions & 0 deletions mail_debrand/i18n/fr_FR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_debrand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-04-11 18:46+0000\n"
"Last-Translator: Yves Le Doeuff <[email protected]>\n"
"Language-Team: none\n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: mail_debrand
#. odoo-python
#: code:addons/mail_debrand/tests/test_mail_debrand_digest.py:0
#, python-format
msgid "Connect"
msgstr ""

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_render_mixin
msgid "Mail Render Mixin"
msgstr "Rendu du courrier"

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_mail
msgid "Outgoing Mails"
msgstr "E-mails sortants"

#~ msgid "Display Name"
#~ msgstr "Nom affiché"

#~ msgid "Last Modified on"
#~ msgstr "Dernière modification"
43 changes: 43 additions & 0 deletions mail_debrand/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_debrand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-07-08 08:59+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.6.2\n"

#. module: mail_debrand
#. odoo-python
#: code:addons/mail_debrand/tests/test_mail_debrand_digest.py:0
#, python-format
msgid "Connect"
msgstr "Connetti"

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_render_mixin
msgid "Mail Render Mixin"
msgstr "Mixin resa posta"

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_mail
msgid "Outgoing Mails"
msgstr "Posta in uscita"

#~ msgid "Display Name"
#~ msgstr "Nome visualizzato"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Ultima modifica il"
31 changes: 31 additions & 0 deletions mail_debrand/i18n/mail_debrand.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_debrand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \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: mail_debrand
#. odoo-python
#: code:addons/mail_debrand/tests/test_mail_debrand_digest.py:0
#, python-format
msgid "Connect"
msgstr ""

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_render_mixin
msgid "Mail Render Mixin"
msgstr ""

#. module: mail_debrand
#: model:ir.model,name:mail_debrand.model_mail_mail
msgid "Outgoing Mails"
msgstr ""
Loading
Loading