social icon indicating copy to clipboard operation
social copied to clipboard

[16.0] OCA/social/mail_debrand _> New Portal Signup email body empty / Odoo Periodic Digest html

Open ser-tec opened this issue 2 years ago • 7 comments

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:

  1. install mail_debrand
  2. try to invite a new user and check email or setting->review all template->Settings: New Portal Signup->preview
  3. 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

Immagine

Example Odoo Periodic Digest html

Immagine2

ser-tec avatar Mar 07 '23 10:03 ser-tec

I have the same problem, please help!

jeffreyouni avatar Jul 25 '23 13:07 jeffreyouni

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().

Florian-Laport avatar Aug 04 '23 15:08 Florian-Laport

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.

Priddybroderickson avatar Aug 27 '23 20:08 Priddybroderickson

Check my fix for Odoo 14 #1215

mathben avatar Sep 06 '23 01:09 mathben

I have same issue

raulovallet avatar Nov 15 '23 19:11 raulovallet

Check my fix for Odoo 14 #1215

I tried this and it have same problem in v15.0 Screenshot 2023-11-15 at 2 49 02 PM Screenshot 2023-11-15 at 2 49 26 PM

raulovallet avatar Nov 15 '23 19:11 raulovallet

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.

github-actions[bot] avatar May 19 '24 12:05 github-actions[bot]