OCA / social

Addons concerning odoo's social ERP features and messaging in general
https://odoo-community.org/project/99
GNU Affero General Public License v3.0
160 stars 615 forks source link

[17.0] mail_debrand - Button to view the quotation broken in debranded mail #1375

Open MSokol00 opened 5 months ago

MSokol00 commented 5 months ago

Module

mail_debrand

Describe the bug

When the module is installed, it correctly removes 'Powered by Odoo' from email, but the button to open the link is cleared out as well. image

To Reproduce

Affected versions: 17.0

Steps to reproduce the behavior:

  1. Install module
  2. Send email with quotation.

Expected behavior The button at the top of the email should work and direct user to quotation image

Additional context

Bart-dh commented 4 months ago

Hi @MSokol00

Does your database url contain odoo.com? I feel like the way this module is implemented, this breaks a lot of this. It is way too harsh. It also completely breaks the Digest email which obviously contains Odoo branding.

MSokol00 commented 4 months ago

Hi @Bart-dh,

yes, that's correct. My organization is hosting a projects on odoo.sh with odoo.com domains for a couple of customers. This module basically gets rid of every html tag with '*.odoo.com' link inside, which is not the best idea.