[16.0] OCA/social/mail_debrand _> New Portal Signup email body empty / Odoo Periodic Digest html
Module
OCA/social/mail_debrand
Describe the bug
After mail_debrand installation, New Portal Signup email body become empty and Odoo Periodic Digest is not rendered (mail is plain text)
To Reproduce
Affected versions: 16
Steps to reproduce the behavior:
- install mail_debrand
- try to invite a new user and check email or setting->review all template->Settings: New Portal Signup->preview
- try to send odoo Periodic Digest or preview the template
Additional context ubuntu 20.4 odoo16 mail_debrand 16.0.1.0.0
Attached examples
Example New Portal Signup email body empty

Example Odoo Periodic Digest html

I have the same problem, please help!
This is the same issue as #936. In the mail_debrand module, _render_template calls the remove_href_odoo function without wrapping its return value in a MarkupSafe object. This function returns a plain string regardless of input become its output comes from etree.tostring().
Thank you for detailing the issue you're facing with the OCA/social/mail_debrand installation. It seems to be affecting the email body content and rendering in Odoo, particularly the New Portal Signup email and the Odoo Periodic Digest. This bug appears to be present in version 16. Your provided steps to reproduce the issue and additional context will be valuable in Sterne addressing this concern effectively. It's recommended to consider reaching out to the Odoo community or support for further assistance.
Check my fix for Odoo 14 #1215
I have same issue
Check my fix for Odoo 14 #1215
I tried this and it have same problem in v15.0
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.