Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
6595 มุมมอง
อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 23
1563
Cookie banner in Odoo website แก้ไขแล้ว
2
เม.ย. 24
5973
2
ก.พ. 24
3033
Online payment button in invoice mail แก้ไขแล้ว
2
ก.ค. 23
5453
0
ม.ค. 25
7699