コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
6590 ビュー
アバター
破棄
著作者 最善の回答

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.

アバター
破棄
最善の回答

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


アバター
破棄

Great, My Issue is solved

最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
0
11月 23
1562
2
4月 24
5971
2
2月 24
3032
2
7月 23
5453
0
1月 25
7695