Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ser-tec opened this issue Mar 7, 2023 · 7 comments
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@ser-tec
Copy link

ser-tec commented Mar 7, 2023

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 ser-tec added the bug label Mar 7, 2023
@jeffreyouni
Copy link

I have the same problem, please help!

@Florian-Laport
Copy link

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

@Priddybroderickson
Copy link

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.

@mathben
Copy link

mathben commented Sep 6, 2023

Check my fix for Odoo 14 #1215

@raulovallet
Copy link

I have same issue

@raulovallet
Copy link

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

Copy link

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 github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label May 19, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

6 participants