[IMP] sale: change template mail button text

Some customers are scared of clicking on a button that says "Accept &
pay" directly from an email.

So, instead of using the online features, they download the PDF, sign it
and return it.

It seems legit, due to the text that you can read, so as an UX
enhancement, I propose to change that button's text.

@Tecnativa TT27664

closes odoo/odoo#65597

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Jairo Llopis
2021-03-17 11:22:20 +00:00
parent 71523876d5
commit 7b62480bef
+3 -3
View File
@@ -7,12 +7,12 @@
<t t-if="record.has_to_be_signed(include_draft=True)">
<t t-if="record.has_to_be_paid()" t-set="access_name">
<t t-if="is_transaction_pending">View Quotation</t>
<t t-else="">Sign &amp; Pay Quotation</t>
<t t-else="">Review, Sign &amp; Pay Quotation</t>
</t>
<t t-else="" t-set="access_name">Accept &amp; Sign Quotation</t>
<t t-else="" t-set="access_name">Review, Accept &amp; Sign Quotation</t>
</t>
<t t-elif="record.has_to_be_paid(include_draft=True) and not is_transaction_pending">
<t t-set="access_name">Accept &amp; Pay Quotation</t>
<t t-set="access_name">Review, Accept &amp; Pay Quotation</t>
</t>
<t t-elif="record.state in ('draft', 'sent')">
<t t-set="access_name">View Quotation</t>