[FIX] website_sale: avoid duplicated Thanks message

Configure a thanks message on a payment acquirer which has no automatic confirmation (none value)
(The wire Transfer will do)

Make a website sale with that acquirer

When arriving on the confirmation page on the website:

Before this commit:
The thanks message was duplicated: one at the top, just under "transaction is waiting a manual confirmation"
and one at the bottom, where the actual transaction status is displayed

After this commit:
The thanks message just appears at the bottom location

OPW 1787799
This commit is contained in:
Lucas Perais (lpe)
2018-03-05 09:06:56 +01:00
parent 3527bc004c
commit 698dffcef0
-6
View File
@@ -1567,12 +1567,6 @@
</t>
<t t-if="tx_ids and state == 'pending' and validation">
<p>Your transaction is waiting a manual confirmation.</p>
<br />
<t t-if="tx_post_msg">
<div class="hidden-print">
<t t-raw="tx_post_msg" />
</div>
</t>
</t>
<t t-if="tx_ids and state not in ['done', 'cancel', 'pending', 'authorized']">
<p>Your transaction is waiting confirmation.</p>