Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
6600 Visualizzazioni
Avatar
Abbandona
Autore Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona

Great, My Issue is solved

Risposta migliore

This might be a solution > https://github.com/elsguns/odoo/tree/master/mail_no_portal.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
nov 23
1569
2
apr 24
5975
2
feb 24
3036
2
lug 23
5454
0
gen 25
7704