Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
7387 มุมมอง

When i send quotations, there appears a purple button (Accept & Sign Quotation) on the end of the mail. This button is not part of any Mail-Template. 

Is there a way to remove this button in Odoo v.14 enterprise


Thanks in advance

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Elmoria,

You need to search the value based on the key field as it is an external id.

The name of the view in v.14 is "Mail: Pay Now mail notification template".

I hope this helps,

อวตาร
ละทิ้ง
ผู้เขียน

That helped! Thanks a lot Jack!

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

It's in the template "mail.mail_notification_paynow" which can be modified from the Views menu or writing a module.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

In developer Mode go to settings->user interface->views, search for "Mail: Pay Now mail notification template"


Find the location in your view as shown below and add BOLD code inside as shown below which is just over the tag. 



By doing this way you just be sure that it will be hidden for Quotations only even if in different languages but code will be working for other mails like payments , etc. So you will not broke any running conditions. 


Best regards, 

Melih 

Eska Business Solutions



อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks for the fast response.

When i go to "Technical -> User Interface -> Views" Unfortunately there is no mail.mail_notification_paynow

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ค. 21
2570
0
ต.ค. 21
4724
3
ก.ย. 25
1806
2
ก.ย. 25
326
3
ก.ย. 25
2919