mail_no_portal: also remove the powered by Odoo at the bottom of the mail

Because the OCA/social module 'mail_debrand' doesn't work cf github.com/OCA/social/issues/839
This commit is contained in:
Alexis de Lattre
2022-05-18 20:06:24 +02:00
parent 174fac6d88
commit 1fd25be02f

View File

@@ -9,9 +9,14 @@
<template id="mail_notification_paynow" inherit_id="mail.mail_notification_paynow">
<!-- Remove the portal button -->
<xpath expr="//t[@t-set='is_online']" position="attributes">
<attribute name="t-value">False</attribute>
</xpath>
<!-- Remove the Powered by Odoo -->
<xpath expr="//a[@target='_blank']/.." position="replace">
<td align="center" style="min-width: 590px; padding: 8px; font-size:11px;"></td>
</xpath>
</template>