Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
6614 Ansichten
Avatar
Verwerfen
Autor Beste Antwort

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
Verwerfen
Beste Antwort

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
Verwerfen

Great, My Issue is solved

Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Nov. 23
1581
2
Apr. 24
5991
2
Feb. 24
3046
2
Juli 23
5472
0
Jan. 25
7717