Created
December 14, 2016 21:35
-
-
Save jaredkipe/2c1a94f8607c26567bc6be558fe32123 to your computer and use it in GitHub Desktop.
Odoo De-Brand Email
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- note that you should find and replace the 'new color' (#505fb5) prior to running. | |
-- Colors | |
UPDATE mail_template set body_html = | |
replace(replace(body_html, '#875A7B', '#505fb5'), 'rgb(135,90,123)', '#505fb5') | |
; | |
-- Footers | |
UPDATE mail_template set body_html = | |
replace(body_html, ' <tr> | |
<td align="center"> | |
Powered by <a href="https://www.odoo.com">Odoo</a>. | |
</td> | |
</tr>', ''); | |
UPDATE mail_template set body_html = | |
replace(body_html, ' using <a href="www.odoo.com" style=" color: #505fb5;"><strong>Odoo</strong></a>', ''); | |
UPDATE mail_template set body_html = | |
replace(body_html, ' using <a href="www.odoo.com" style="text-decoration:none; color: #505fb5;"><strong>Odoo</strong></a>', ''); | |
UPDATE mail_template set body_html = | |
replace(body_html, ' using | |
<a href="https://www.odoo.com" style="text-decoration:none; color: #505fb5;">Odoo</a>', ''); | |
UPDATE mail_template set body_html = | |
replace(body_html, ' <p>---<br /> | |
Odoo - Open Source Business Applications<br /> | |
http://www.odoo.com<br /> | |
</p>', ''); | |
UPDATE mail_template set body_html = | |
replace(body_html, ' <p style="font-size: 11px; margin-top: 10px;"> | |
<strong>Sent by ${user.company_id.name} using <a href="www.odoo.com" style="text-decoration:none; color: #505fb5;">Odoo</a></strong> | |
</p>', ''); |
Do you know , how can I remove odoo logo from email template?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sr, thank you very much