Files
odoo_source/addons/payment_test/views/payment_templates.xml
T
Demesmaeker 9612ede9ca [IMP] sale, payment: improve the UI
Small UI improvements for clarity/continuity:
1. In the "Sales' onboarding wizard > payment configuration >
documentatlion link", font roboto is now used.
2. In the sales order, the error message when 'there is nothing
to invoice' now also explains also what the user has to do to invoice
"Prepaid" services.
3. In the "Payment confirmation" section of the payment portal,
'Reference', 'From' & 'Amount' fields don't look like editable
fields anymore.
4. In the payment forms, tokens created with the Test acquirer
are now identified with a "Test Token" badge in place of the
verified token checkmark.

task-2505913

closes odoo/odoo#70076

Related: odoo/enterprise#18036
Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
2021-07-14 09:34:43 +00:00

13 lines
384 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="verified_token_checkmark" inherit_id="payment.verified_token_checkmark">
<xpath expr="//t[@name='payment_test_hook']" position="replace">
<t t-if="token.provider=='test'">
<span class="badge badge-warning">Test Token</span>
</t>
</xpath>
</template>
</odoo>