Commit Graph

31 Commits (3b264edbee0c01a3778f7f68e2bc1aba5a6b1330)

Author SHA1 Message Date
chien d8fbe287b6 [MIG] mail_debrand: Migration to 17.0 2024-04-26 09:25:49 +07:00
Stefan Rijnhart 81732dd2bf [IMP] mail_debrand: keep the decoration (grey border) where the branding was
when using mail.mail_notification_light as a wrapper
2024-04-26 09:25:49 +07:00
Stefan Rijnhart 1234364fab [FIX] mail_debrand: don't remove actual content from auth_signup email templates
such as auth_signup's invitation email.
2024-04-26 09:25:49 +07:00
Stefan Rijnhart 2e7d62c3e9 [FIX] mail_debrand: fix translated branding 2024-04-26 09:25:49 +07:00
Alessandro Corbelli 384ebdc4c7 [IMP] mail_debrand: pre-commit auto fixes 2024-04-26 09:25:33 +07:00
Logeshkumar 01ba161d8c [16.0][IMP] mail_debrand 2024-04-25 16:06:18 +07:00
Raf Ven 23cb099fee [15.0-mail] [FIX] mail_debrand: text/plain issue + TypeError: object of type 'NoneType' has no len() 2024-04-25 16:06:18 +07:00
Víctor Martínez e012c0ca46 [FIX] mail_debrand: Set proper default engine in _render_template() function 2024-04-25 16:06:18 +07:00
miguels73 61f00aefef [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>
`
2024-04-25 16:06:18 +07:00
Mateu Griful a2eb17ff9b [15.0][IMP] mail_debrand: Remove Powered by Odoo 2024-04-25 16:06:18 +07:00
AlvaroTForgeFlow b10a34ed48 [15.0][MIG]mail_debrand: Migration from 14.0 to 15.0 2024-04-25 16:06:18 +07:00
João Marques 11b38d8730 [IMP] mail_debrand: Keep message body intact while removing branding
Partially fixes https://github.com/OCA/social/issues/713

TT31737
2024-04-25 16:06:18 +07:00
Moisés López 38dd122dea [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. 2024-04-25 16:06:18 +07:00
Ioan Galan 178cd62054 [IMP] mail_debrand: Avoid process each created mail 2024-04-25 16:06:18 +07:00
Ioan Galan f19cb46a37 [IMP] mail_debrand: Split code into model-specific files 2024-04-25 16:06:18 +07:00
Ryan Cole 93249c131f [14.0] mail_debrand: pass original args to super() 2024-04-25 16:06:18 +07:00
Daniel Reis 3b7336c642 [FIX] mail_debrand: avoid KeyError: 'body_html' on plain text emails 2024-04-25 16:06:18 +07:00
Daniel Reis 5dbab6f462 [FIX] mail_debrand: TypeError: object of type 'NoneType' has no len() 2024-04-25 16:06:18 +07:00
Daniel Reis 17225abbe0 [FIX] mail_debrand: tolerate binary inputs, solve etree FutureWarning 2024-04-25 16:06:18 +07:00
teodoralexandru@nexterp.ro 9475b8ff31 I have a fix for the issue, here: ursais@6a3933f 2024-04-25 16:06:18 +07:00
teodoralexandru@nexterp.ro aa01ee2dac k precommit 2024-04-25 16:06:18 +07:00
teodoralexandru@nexterp.ro 0deff1c58b now taking the parent if is td 2024-04-25 16:06:18 +07:00
teodoralexandru@nexterp.ro e05bd21c99 k also send mail 2024-04-25 16:06:18 +07:00
teodoralexandru@nexterp.ro 202c5e321b also precommit 2024-04-25 16:06:18 +07:00
Andrea 24f3dda993 [FIX] support all languages, no need of translations 2024-04-25 16:06:18 +07:00
Valentin Vinagre Urteaga 63747b61db [MIG] mail_debrand: Migration to v13.0 2024-04-25 16:06:18 +07:00
Lois Rilo ab8e9474c1 [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.
2024-04-25 16:06:17 +07:00
Graeme Gellatly edf7d83558 [FIX] Parse generated html to remove to remove Odoo branding messages 2024-04-25 16:06:17 +07:00
Graeme Gellatly fdfbdf2a0a Rewrite mail_debrand for v12 2024-04-25 16:06:17 +07:00
Lois Rilo d7bd9d919d [11.0][MIG] mail_debrand 2024-04-25 16:06:17 +07:00
Pedro M. Baeza 10a116e8b5 [MIG] mail_debrand
There's no commits preservation, as the module doesn't serve as is on v9.
2024-04-25 16:06:17 +07:00