Commit Graph

20 Commits

Author SHA1 Message Date
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