Commit Graph

9 Commits

Author SHA1 Message Date
Víctor Martínez
bdfaa139d5 [FIX] mail_debrand: Set proper default engine in _render_template() function 2022-10-19 13:29:00 +02:00
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
aa00a02097 [IMP] mail_debrand: Split code into model-specific files 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