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

[18.0][MIG] mail_debrand: Migration to 18.0 #1479

Closed
wants to merge 101 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
3b89d00
[MIG] mail_debrand
pedrobaeza May 15, 2017
78a2e5b
OCA Transbot updated translations from Transifex
oca-transbot Jan 27, 2018
4e3d7cd
[11.0][MIG] mail_debrand
LoisRForgeFlow Apr 25, 2018
08d32ed
[UPD] Update mail_debrand.pot
oca-travis Jun 17, 2018
ada2f0d
Rewrite mail_debrand for v12
gdgellatly Nov 7, 2018
3235fad
[UPD] Update mail_debrand.pot
oca-travis Nov 8, 2018
f810533
[FIX] Parse generated html to remove to remove Odoo branding messages
gdgellatly Dec 27, 2018
3a9197d
[UPD] Update mail_debrand.pot
oca-travis Jun 10, 2019
6eb7937
[FIX] mail_debrand: Add development_status (#408)
max3903 Jul 11, 2019
4fef008
[UPD] README.rst
OCA-git-bot Jul 11, 2019
9d5c005
[12.0][FIX] mail_debrand: debrand regular notifications.
LoisRForgeFlow Jul 16, 2019
eacea36
[UPD] Update mail_debrand.pot
oca-travis Jul 20, 2019
de5dd28
mail_debrand 12.0.2.0.1
OCA-git-bot Jul 20, 2019
5b31ea0
[UPD] README.rst
OCA-git-bot Jul 29, 2019
7516509
Added translation using Weblate (French)
qgroulard Feb 4, 2020
8d6b150
Added translation using Weblate (Portuguese)
pedrocs-exo Mar 2, 2020
b9db765
Translated using Weblate (Portuguese)
pedrocs-exo Mar 2, 2020
44562d9
Added translation using Weblate (Slovenian)
sysadminmatmoz Mar 19, 2020
cd605f6
Added translation using Weblate (Serbian (latin))
sysadminmatmoz Mar 19, 2020
2f712ca
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 19, 2020
53b208b
[MIG] mail_debrand: Migration to v13.0
ValentinVinagre Mar 20, 2020
f6c986d
[UPD] Update mail_debrand.pot
oca-travis Mar 25, 2020
6a0c1d2
[UPD] README.rst
OCA-git-bot Mar 25, 2020
0a3d1af
Update translation files
oca-transbot Mar 29, 2020
a70dac1
Added translation using Weblate (Dutch)
rven Apr 30, 2020
2e7036b
Translated using Weblate (Dutch)
rven Apr 30, 2020
668ac00
Translated using Weblate (French)
Aug 12, 2020
13a5352
Translated using Weblate (French)
Aug 12, 2020
0c42dbe
[FIX] support all languages, no need of translations
astirpe Sep 17, 2020
f40edfa
[UPD] README.rst
OCA-git-bot Sep 22, 2020
4b4b793
mail_debrand 13.0.2.0.0
OCA-git-bot Sep 22, 2020
6872244
[FIX] Fixed travis error.
Chandresh-SerpentCS Nov 2, 2020
bb1cf90
[UPD] README.rst
OCA-git-bot Nov 2, 2020
c3b2289
mail_debrand 13.0.2.0.1
OCA-git-bot Nov 2, 2020
a0d18fa
[IMP] mail_debrand: black, isort, prettier
atchuthan Jan 5, 2021
ff1d61d
[MIG] mail_debrand: Migration to v14
atchuthan Jan 5, 2021
8289246
also precommit
Jan 12, 2021
b5bec68
k also send mail
Jan 12, 2021
54f08d3
now taking the parent if is td
Jan 22, 2021
8190e4b
k precommit
Jan 22, 2021
f5dc080
[FIX] fixed test
atchuthan Feb 5, 2021
4a49051
I have a fix for the issue, here: ursais@6a3933f
Feb 26, 2021
ab67a03
[UPD] Update mail_debrand.pot
oca-travis Feb 26, 2021
6c40686
[UPD] README.rst
OCA-git-bot Feb 26, 2021
ed8caef
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
e0b7730
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
c1c8357
[FIX] mail_debrand: tolerate binary inputs, solve etree FutureWarning
dreispt Mar 15, 2021
932abd7
[FIX] mail_debrand: TypeError: object of type 'NoneType' has no len()
dreispt Mar 19, 2021
87f11ec
mail_debrand 14.0.1.0.1
OCA-git-bot Apr 23, 2021
bfacc9e
Added translation using Weblate (Italian)
primes2h May 7, 2021
833a07b
Translated using Weblate (Italian)
primes2h May 7, 2021
510e2ed
Translated using Weblate (Dutch)
bosd May 17, 2021
ef8507e
[FIX] mail_debrand: avoid KeyError: 'body_html' on plain text emails
dreispt May 25, 2021
ddb6c9e
mail_debrand 14.0.1.0.2
OCA-git-bot May 27, 2021
20437c4
[14.0] mail_debrand: pass original args to super()
ryanc-me May 18, 2021
5517ac4
[IMP] mail_debrand: Split code into model-specific files
ioans73 Jul 22, 2021
e6a9fe2
[14.0] mail_debrand: Add tests to check that digest emails are render…
ryanc-me May 18, 2021
ddd7698
[IMP] mail_debrand: Avoid process each created mail
ioans73 Jul 27, 2021
60c1e32
[UPD] Update mail_debrand.pot
oca-travis Jul 27, 2021
83a6d0d
mail_debrand 14.0.2.0.0
OCA-git-bot Jul 27, 2021
555da8c
Update translation files
oca-transbot Jul 27, 2021
0b44960
[REF] mail_debrand: Fix FutureWarning: The behavior of this method wi…
moylop260 Aug 29, 2021
ae22388
mail_debrand 14.0.2.0.1
OCA-git-bot Aug 30, 2021
d6d99ea
[IMP] mail_debrand: Keep message body intact while removing branding
joao-p-marques Sep 14, 2021
d210974
[UPD] README.rst
OCA-git-bot Sep 16, 2021
f82d177
Added translation using Weblate (Spanish)
oihane Oct 5, 2021
ffcef6d
Translated using Weblate (Spanish)
oihane Oct 5, 2021
9af90e3
Added translation using Weblate (Swedish)
simonstromb Nov 17, 2021
8871428
Translated using Weblate (Swedish)
simonstromb Nov 17, 2021
db2f2e2
[15.0][MIG]mail_debrand: Migration from 14.0 to 15.0
AlvaroTForgeFlow Dec 16, 2021
1f9cb72
[UPD] Update mail_debrand.pot
Jan 20, 2022
18244b0
[UPD] README.rst
OCA-git-bot Jan 20, 2022
14acaaa
[15.0][IMP] mail_debrand: Remove Powered by Odoo
MateuGForgeFlow Mar 2, 2022
581012f
mail_debrand 15.0.1.1.0
OCA-git-bot Apr 4, 2022
a01261f
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Apr 6, 2022
6fabac6
[UPD] README.rst
OCA-git-bot Apr 7, 2022
3161c4b
mail_debrand 15.0.1.2.0
OCA-git-bot Apr 7, 2022
90d6f69
[FIX] mail_debrand: remove_href_odoo function
miguel-S73 May 23, 2022
20187c6
mail_debrand 15.0.1.2.1
OCA-git-bot May 31, 2022
ef1d86e
[FIX][15.0] mail_debrand: test_mail_digest update for 15.0
dhx Jun 8, 2022
f39aa9d
mail_debrand 15.0.1.2.2
OCA-git-bot Jul 18, 2022
02c6c02
[FIX] mail_debrand: Set proper default engine in _render_template() f…
victoralmau Oct 19, 2022
92e191c
[16.0][MIG] mail_debrand
LogeshSod Dec 5, 2022
7aa839d
[15.0-mail] [FIX] mail_debrand: text/plain issue + TypeError: object …
rven Jul 19, 2022
895777e
[16.0][IMP] mail_debrand
LogeshSod Dec 27, 2022
7df593b
[UPD] Update mail_debrand.pot
Feb 7, 2023
d70a0a2
[UPD] README.rst
OCA-git-bot Feb 7, 2023
6c38950
Update translation files
weblate Feb 7, 2023
021b6c0
[UPD] README.rst
OCA-git-bot Sep 3, 2023
71b0419
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
bc2efd1
[IMP] mail_debrand: pre-commit auto fixes
gandalfthegreydev Nov 20, 2023
c8d766b
[FIX] mail_debrand: fix translated branding
StefanRijnhart Dec 28, 2023
fbe5fa9
[FIX] mail_debrand: don't remove actual content from auth_signup emai…
StefanRijnhart Jan 4, 2024
6ef91a8
[IMP] mail_debrand: keep the decoration (grey border) where the brand…
StefanRijnhart Jan 25, 2024
5325666
[MIG] mail_debrand: Migration to 17.0
nguyenminhchien Apr 5, 2024
cd7a9b1
Translated using Weblate (French)
vincent-hatakeyama Feb 23, 2024
9ede96d
[UPD] Update mail_debrand.pot
May 6, 2024
e53da78
[BOT] post-merge updates
OCA-git-bot May 6, 2024
c05dfda
Update translation files
weblate Jul 7, 2024
17f154d
Translated using Weblate (Italian)
mymage Jul 8, 2024
55f68c2
[MIG] mail_debrand: Migration to 18.0
jdebetaz Oct 17, 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%2Fsocial-lightgray.png?logo=github
:target: https://github.com/OCA/social/tree/17.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
: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
: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/social/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/social/issues/new?body=module:%20mail_debrand%0Aversion:%2017.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/social <https://github.com/OCA/social/tree/17.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/social",
"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