Commit Graph

29 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 79168793fd [IMP] mail_debrand: Avoid process each created mail 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
Ryan Cole 6ae7ffef2a [14.0] mail_debrand: pass original args to super() 2022-12-05 10:45:56 +05:30
Daniel Reis ead18dd6d2 [FIX] mail_debrand: avoid KeyError: 'body_html' on plain text emails 2022-12-05 10:45:56 +05:30
Daniel Reis 03ef09751e [FIX] mail_debrand: TypeError: object of type 'NoneType' has no len() 2022-12-05 10:45:56 +05:30
Daniel Reis 5f6ec7a133 [FIX] mail_debrand: tolerate binary inputs, solve etree FutureWarning 2022-12-05 10:45:56 +05:30
teodoralexandru@nexterp.ro acad9a2f69 I have a fix for the issue, here: ursais@6a3933f 2022-12-05 10:45:56 +05:30
teodoralexandru@nexterp.ro c28486a138 k precommit 2022-12-05 10:45:56 +05:30
teodoralexandru@nexterp.ro 80f3459221 now taking the parent if is td 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
Andrea 9dc58920c2 [FIX] support all languages, no need of translations 2022-12-05 10:45:56 +05:30
Valentin Vinagre Urteaga 20a52c9373 [MIG] mail_debrand: Migration to v13.0 2022-12-05 10:45:56 +05:30
Lois Rilo 8b10231c3e [12.0][FIX] mail_debrand: debrand regular notifications.
without this fix, any regular notification (added as follower,
thread notifications...) were not parsed at all and as a
consequence also not debranded.
2022-12-05 10:45:56 +05:30
Graeme Gellatly a89f21f44d [FIX] Parse generated html to remove to remove Odoo branding messages 2022-12-05 10:45:56 +05:30
Graeme Gellatly 1b9db92c60 Rewrite mail_debrand for v12 2022-12-05 10:45:56 +05:30
Lois Rilo a1f506c650 [11.0][MIG] mail_debrand 2022-12-05 10:45:56 +05:30
Pedro M. Baeza e08112a5fd [MIG] mail_debrand
There's no commits preservation, as the module doesn't serve as is on v9.
2022-12-05 10:45:56 +05:30