Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
6618 Lượt xem
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ

Great, My Issue is solved

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 23
1586
2
thg 4 24
5992
2
thg 2 24
3046
2
thg 7 23
5473
0
thg 1 25
7720