[FIX] payment: show tokens in the manage form even without any acquirer
This commit fixes the /my/payment_method page which wouldn't show available tokens if not suitable acquirer was found. task-2494916 closes odoo/odoo#74039 Related: odoo/enterprise#19769 Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
<!-- Manage page -->
|
||||
<div class="row">
|
||||
<div class="col-lg-7">
|
||||
<t t-if="acquirers" t-call="payment.manage"/>
|
||||
<t t-if="acquirers or tokens" t-call="payment.manage"/>
|
||||
<div t-else="" class="alert alert-warning">
|
||||
<p><strong>No suitable payment acquirer could be found.</strong></p>
|
||||
<p>If you believe that it is an error, please contact the website administrator.</p>
|
||||
|
||||
Reference in New Issue
Block a user