Skip to Content
Menu
This question has been flagged
2 Replies
5343 Views
Hi All, 
I would like to remove the button "View Quotation' with link to the customer portal but cannot find where it is generated. Tried Email Template:  ​"Sales Order: Send by email" and many other places but cannot find it. 
Thanks!

Avatar
Discard
Best Answer

I think you are looking for this file "addons/mail/data/mail_data.xml". There you can find a div

<td valign="center">
<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>
<t t-if="actions">
<t t-foreach="actions" t-as="action">
|
<a t-att-href="action['url']" style="color: #875A7B; text-decoration:none !important;">
<t t-esc="action['title']"/>
</a>
</t>
</t>
</td>

Avatar
Discard