Skip to Content
Menú
This question has been flagged
3 Respostes
6635 Vistes
Avatar
Descartar
Autor Best Answer

create an inherited views from the "Mail: Pay Now mail notification template" view.

Add the following code on the architecture. 

<xpath expr=”//div[@style=’margin: 32px 0px 32px 0px; text-align: center;’]” position=”replace”/>


Warning : copy and paste this sentence won't work, you have to rewrite it.




This will remove the button from the emails sent with that invoice email template.

Avatar
Descartar
Best Answer

In odoo V15,  remove 

<a t-if="has_button_access"
t-att-href="button_access['url']"
style="padding: 8px 12px; font-size: 12px; color: #FFFFFF; text-decoration: none !important; font-weight: 400; background-color: #875A7B; border: 0px solid #875A7B; border-radius:3px"
>
<t t-esc="button_access['title']"/>
a>

from mail.message_notification_email


Avatar
Descartar

Great, My Issue is solved

Related Posts Respostes Vistes Activitat
0
de nov. 23
1615
2
d’abr. 24
6037
2
de febr. 24
3091
2
de jul. 23
5486
0
de gen. 25
7777