[15.0][IMP] mail_debrand: Remove Powered by Odoo
This commit is contained in:
parent
3a5502655c
commit
7ff722ff78
@ -98,3 +98,10 @@ class MailRenderMixin(models.AbstractModel):
|
||||
orginal_rendered[key] = self.remove_href_odoo(orginal_rendered[key])
|
||||
|
||||
return orginal_rendered
|
||||
|
||||
def _replace_local_links(self, html, base_url=None):
|
||||
message = super()._replace_local_links(html)
|
||||
message = re.sub(
|
||||
r"""(Powered by\s(.*)Odoo</a>)""", "<div> </div>", message
|
||||
)
|
||||
return message
|
||||
|
Loading…
Reference in New Issue
Block a user