Commit Graph

14 Commits (bac73d64ae91a33151b1f1aef5e8e397bef19ed1)

Author SHA1 Message Date
Stefan Rijnhart b525c2a134 [FIX] mail_debrand: don't remove actual content from auth_signup email templates
such as auth_signup's invitation email.
2024-01-05 08:55:21 +01:00
Stefan Rijnhart bc188fc429 [FIX] mail_debrand: fix translated branding 2024-01-05 08:55:21 +01:00
Michel Perrocheau d6c5ad1074 [FIX] mail_debrand: Avoid odoo.sh links removal
For URLs like my-customer.odoo.com
2023-12-29 09:35:27 +01:00
Logeshkumar 6b003bfe9c [16.0][IMP] mail_debrand 2022-12-27 12:58:38 +05:30
Raf Ven 586161d02b [15.0-mail] [FIX] mail_debrand: text/plain issue + TypeError: object of type 'NoneType' has no len() 2022-12-14 18:18:49 +05:30
Víctor Martínez c50e3146a4 [FIX] mail_debrand: Set proper default engine in _render_template() function 2022-12-05 10:45:56 +05:30
miguels73 e44ce70df9 [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-12-05 10:45:56 +05:30
Mateu Griful fb6addd1e2 [15.0][IMP] mail_debrand: Remove Powered by Odoo 2022-12-05 10:45:56 +05:30
AlvaroTForgeFlow fee6195b58 [15.0][MIG]mail_debrand: Migration from 14.0 to 15.0 2022-12-05 10:45:56 +05:30
João Marques b8aaf0bb87 [IMP] mail_debrand: Keep message body intact while removing branding
Partially fixes https://github.com/OCA/social/issues/713

TT31737
2022-12-05 10:45:56 +05:30
Moisés López 333adbce24 [REF] mail_debrand: Fix FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. 2022-12-05 10:45:56 +05:30
Ioan Galan af73acfe21 [IMP] mail_debrand: Split code into model-specific files 2022-12-05 10:45:56 +05:30
teodoralexandru@nexterp.ro b6e6a9a354 k also send mail 2022-12-05 10:45:56 +05:30
teodoralexandru@nexterp.ro 532bb01ffe also precommit 2022-12-05 10:45:56 +05:30