[FIX] website_sale: show correctly the acquirer name

Like here https://github.com/odoo/odoo/blob/14.0/addons/payment/views/payment_templates.xml#L69, if the acquirer have display_as, it is more logical to shpw everywhere this field.

closes odoo/odoo#119526

X-original-commit: 2b80e84d29346b7d672e42ffb1dd7a3804388f04
Signed-off-by: Valentin Chevalier <vcr@odoo.com>
This commit is contained in:
Florent de Labarre
2023-04-25 07:37:51 +02:00
committed by Valentin Chevalier
parent ac9af81802
commit ba785f0a2e
+1 -1
View File
@@ -2170,7 +2170,7 @@
<tbody>
<tr>
<td colspan="2">
<t t-esc="payment_tx_id.provider_id.sudo().name" />
<t t-esc="payment_tx_id.provider_id.display_as or payment_tx_id.provider_id.name" />
</td>
<td class="text-end" width="100">
<strong>Total:</strong>