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
Mateu Griful
7ff722ff78
[15.0][IMP] mail_debrand: Remove Powered by Odoo
2022-03-15 16:10:41 +01:00
AlvaroTForgeFlow
9464d36898
[15.0][MIG]mail_debrand: Migration from 14.0 to 15.0
2021-12-16 14:56:38 +01:00
João Marques
de64c8d610
[IMP] mail_debrand: Keep message body intact while removing branding
...
Partially fixes https://github.com/OCA/social/issues/713
TT31737
2021-12-15 11:31:01 +01:00
Moisés López
caf5fd4f6d
[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.
2021-12-15 11:31:01 +01:00
Ioan Galan
f04051ddcb
[IMP] mail_debrand: Avoid process each created mail
2021-12-15 11:31:01 +01:00
Ioan Galan
aa00a02097
[IMP] mail_debrand: Split code into model-specific files
2021-12-15 11:31:01 +01:00
Ryan Cole
42c4779078
[14.0] mail_debrand: pass original args to super()
2021-12-15 11:31:01 +01:00
Daniel Reis
158cccfce7
[FIX] mail_debrand: avoid KeyError: 'body_html' on plain text emails
2021-12-15 11:31:01 +01:00
Daniel Reis
84986a7298
[FIX] mail_debrand: TypeError: object of type 'NoneType' has no len()
2021-12-15 11:31:01 +01:00
Daniel Reis
7f6b13b660
[FIX] mail_debrand: tolerate binary inputs, solve etree FutureWarning
2021-12-15 11:31:01 +01:00
teodoralexandru@nexterp.ro
d37f6f0b36
I have a fix for the issue, here: ursais@6a3933f
2021-12-15 11:31:01 +01:00
teodoralexandru@nexterp.ro
8838ed4c23
k precommit
2021-12-15 11:31:01 +01:00
teodoralexandru@nexterp.ro
136cbb18da
now taking the parent if is td
2021-12-15 11:31:01 +01:00
teodoralexandru@nexterp.ro
7e70ceb67b
k also send mail
2021-12-15 11:31:01 +01:00
teodoralexandru@nexterp.ro
d5a677dd55
also precommit
2021-12-15 11:31:01 +01:00
Andrea
2a3e341a64
[FIX] support all languages, no need of translations
2021-12-15 11:31:01 +01:00
Valentin Vinagre Urteaga
f15c2638ca
[MIG] mail_debrand: Migration to v13.0
2021-12-15 11:31:01 +01:00
Lois Rilo
b3e8b24952
[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.
2021-12-15 11:31:01 +01:00
Graeme Gellatly
06da4d8041
[FIX] Parse generated html to remove to remove Odoo branding messages
2021-12-15 11:31:01 +01:00
Graeme Gellatly
07cd6dd401
Rewrite mail_debrand for v12
2021-12-15 11:31:01 +01:00
Lois Rilo
10c192297c
[11.0][MIG] mail_debrand
2021-12-15 11:31:01 +01:00
Pedro M. Baeza
cceb27e35c
[MIG] mail_debrand
...
There's no commits preservation, as the module doesn't serve as is on v9.
2021-12-15 11:31:01 +01:00