social/mail_debrand
miguels73 af53ccf57c
[FIX] mail_debrand: remove_href_odoo function
- FIX bug when split email message by `to_keep` parameter. When the html code is split, it is broken. As a result of this, when it use `fromstring`,
it try to fix this by closing tags.
Example about fixed functionality:

message:
`
<table>
   <tr>
      <td>
         {to_keep}
      </td>
   </tr>
</table>
`
Split messsage inside `remove_href_odoo` function:

part[0]

`
<table>
   <tr>
      <td>
`
--------
part[1]
`
      </td>
   </tr>
</table>
`
-----------------
Result when join by `to_keep`

`
<table>
<tr>
<td>
{to_keep}
</td>
</tr>
</table>
`
2022-05-31 08:53:25 +01:00
..
i18n [UPD] Update mail_debrand.pot 2022-01-20 18:05:03 +00:00
models [FIX] mail_debrand: remove_href_odoo function 2022-05-31 08:53:25 +01:00
readme [UPD] Eficent -> ForgeFlow 2022-04-06 14:52:42 +02:00
static/description [UPD] README.rst 2022-04-07 19:32:19 +00:00
tests [15.0][MIG]mail_debrand: Migration from 14.0 to 15.0 2021-12-16 14:56:38 +01:00
__init__.py [FIX] Parse generated html to remove to remove Odoo branding messages 2021-12-15 11:31:01 +01:00
__manifest__.py mail_debrand 15.0.1.2.0 2022-04-07 19:32:20 +00:00
README.rst [UPD] README.rst 2022-04-07 19:32:19 +00:00

============
Mail Debrand
============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/15.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-15-0/social-15-0-mail_debrand
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
    :target: https://runbot.odoo-community.org/runbot/205/15.0
    :alt: Try me on Runbot

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

This module modifies the functionality of emails to remove the Odoo branding,
specifically the 'using Odoo' of notifications or 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.

Changelog
=========

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_debrand%0Aversion:%2015.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 <lois.rilo@forgeflow.com>
* Graeme Gellatly <graeme@o4sb.com>
* `Tecnativa <https://www.tecnativa.com>`__:

  * Pedro M. Baeza
  * João Marques

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/15.0/mail_debrand>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.