Files
Alexis de Lattre 1fd25be02f 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
2022-05-18 20:06:24 +02:00

24 lines
760 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2022 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<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>
</odoo>