[FIX] website_sale: fix authorized message

Field `auth_msg` never existed, this is an uncaught mistake. This commit
removes its usage and displays the fallback message to avoid runtime
error.

Closes #31903

Signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>


Co-authored-by: Marius Stedjan <marius@stedjan.com>
This commit is contained in:
Johan Demaret Rivarola
2019-03-18 09:58:45 +00:00
co-authored by Marius Stedjan
parent 0719559904
commit 36435b4ad7
+1 -2
View File
@@ -1604,8 +1604,7 @@
<span t-else="">An error occured while processing your payment. Please try again or contact your administrator.</span>
</t>
<t t-if="payment_tx_id.state == 'authorized'">
<span t-if="payment_tx_id.acquirer_id.auth_msg" t-raw="payment_tx_id.acquirer_id.auth_msg"/>
<span t-else="">Your payment has been authorized.</span>
<span>Your payment has been authorized.</span>
</t>
</div>
<div t-if="payment_tx_id.acquirer_id.post_msg" t-att-class="'card-body %s' % (