-
-
Notifications
You must be signed in to change notification settings - Fork 639
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
[17.0] mail_debrand - Button to view the quotation broken in debranded mail #1375
Comments
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. |
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. |
Oh wow I just came to make an issue about
|
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](https://private-user-images.githubusercontent.com/13823479/334354698-c45fa92d-1e6e-4014-8f17-e364ff225fad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTY3MTcsIm5iZiI6MTczOTYxNjQxNywicGF0aCI6Ii8xMzgyMzQ3OS8zMzQzNTQ2OTgtYzQ1ZmE5MmQtMWU2ZS00MDE0LThmMTctZTM2NGZmMjI1ZmFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEwNDY1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAxNzk4NTVmZGQ2N2QxMTVmN2JkMGM4NjFhNWZiYWNhYTcxNDZiZjZkOTZiNGE4OTNmYWZlZDY2N2JjY2M0YmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.AgIJpG0b4RGyvQp7zRk-KnXi_APztjcBw9-3265R_48)
To Reproduce
Affected versions: 17.0
Steps to reproduce the behavior:
Expected behavior
![image](https://private-user-images.githubusercontent.com/13823479/334354783-5c25af84-38cf-4f8c-9862-44a3cbc85a35.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTY3MTcsIm5iZiI6MTczOTYxNjQxNywicGF0aCI6Ii8xMzgyMzQ3OS8zMzQzNTQ3ODMtNWMyNWFmODQtMzhjZi00ZjhjLTk4NjItNDRhM2NiYzg1YTM1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEwNDY1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFlZmNlYTc2N2QzMGYyZmU2OGZkNzc4YTIzYTg5ZmE5ZTRhN2JkZTIyYzRkZTAwZWZhNzEyMjc0ZWExNzMzYTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Q-Wd3CqcPGEY9rJZZ-WD2-bRhbBNH6I_ZfkYvvgGwE8)
The button at the top of the email should work and direct user to quotation
Additional context
The text was updated successfully, but these errors were encountered: