Files
odoo_source/addons/account_payment/wizards/payment_refund_wizard_views.xml
T
Horacio Tellez f7b8f07501 [IMP] payment: rename of acquirer to provider
Changing the name of model payment.acquirer to payment.provider
and everything that it touches. It is technically incorrect to
use the term "acquirer" for systems that only provide a service
of payment.
After this commit the model payment.acquirer and all related to
it will be renamed to payment.provider.

Task - 2842088

closes odoo/odoo#90899

Related: odoo/upgrade#3542
Related: odoo/documentation#1981
Related: odoo/enterprise#27131
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-09-09 13:38:08 +02:00

43 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="payment_refund_wizard_view_form" model="ir.ui.view">
<field name="name">payment.refund.wizard.form</field>
<field name="model">payment.refund.wizard</field>
<field name="arch" type="xml">
<form string="Refund">
<field name="has_pending_refund" invisible="1"/>
<div class="alert alert-warning"
id="alert_draft_refund_tx"
role="alert"
attrs="{'invisible': [('has_pending_refund', '=', False)]}">
<p>
<strong>Warning!</strong> There is a refund pending for this payment.
Wait a moment for it to be processed. If the refund is still pending in a
few minutes, please check your payment provider configuration.
</p>
</div>
<group>
<group>
<field name="payment_id" invisible="1"/>
<field name="transaction_id" invisible="1"/>
<field name="currency_id" invisible="1"/>
<field name="support_refund" invisible="1"/>
<field name="payment_amount"/>
<field name="refunded_amount"
attrs="{'invisible': [('refunded_amount', '&lt;=', 0)]}"/>
<field name="amount_available_for_refund"/>
<field name="amount_to_refund"
attrs="{'readonly': [('support_refund', '=', 'full_only')]}"/>
</group>
</group>
<footer>
<button string="Refund" type="object" name="action_refund" class="btn-primary"/>
<button string="Close" special="cancel" class="btn-secondary"/>
</footer>
</form>
</field>
</record>
</odoo>