Following the recent reorganisation of the documentation in 12.0+, the majority of the documents have been moved and their old links are no longer valid. Some redirection rules will soon be deployed, but those rules might be dropped in some years and we want the links to still work, which is why we still replace the links to the new ones. FW-Port of odoo/odoo#70675 (13.0) closes odoo/odoo#70920 X-original-commit: bc9c1eef538ba6095e74c19d5d9ed9e01625ec7c Related: odoo/enterprise#18361 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
51 lines
2.7 KiB
XML
51 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="payment_acquirer_form" model="ir.ui.view">
|
|
<field name="name">Authorize.Net Acquirer Form</field>
|
|
<field name="model">payment.acquirer</field>
|
|
<field name="inherit_id" ref="payment.payment_acquirer_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr='//group[@name="acquirer"]' position='inside'>
|
|
<group attrs="{'invisible': [('provider', '!=', 'authorize')]}">
|
|
<field name="authorize_login" attrs="{'required':[('provider', '=', 'authorize'), ('state', '!=', 'disabled')]}"/>
|
|
<field name="authorize_transaction_key" password="True" attrs="{'required':[ ('provider', '=', 'authorize'), ('state', '!=', 'disabled')]}"/>
|
|
<field name="authorize_signature_key" password="True" attrs="{'required':[ ('provider', '=', 'authorize'), ('state', '!=', 'disabled')]}"/>
|
|
<label for="authorize_client_key"/>
|
|
<div>
|
|
<field name="authorize_client_key" password="True"/>
|
|
<button class="oe_link" icon="fa-refresh" type="object"
|
|
name="action_update_merchant_details"
|
|
string="Generate Client Key"/>
|
|
</div>
|
|
<a colspan="2" href="https://www.odoo.com/documentation/14.0/applications/general/payment_acquirers/authorize.html" target="_blank">
|
|
How to get paid with Authorize.Net
|
|
</a>
|
|
</group>
|
|
</xpath>
|
|
<xpath expr="//field[@name='country_ids']" position="after">
|
|
<label for="authorize_currency_id" string="Currency" attrs="{'invisible': [('provider', '!=', 'authorize')]}"/>
|
|
<div attrs="{'invisible': [('provider', '!=', 'authorize')]}">
|
|
<field name="authorize_currency_id"/>
|
|
<button class="oe_link" icon="fa-refresh" type="object"
|
|
name="action_update_merchant_details"
|
|
string="Set Account Currency"/>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="payment_token_form" model="ir.ui.view">
|
|
<field name='name'>Authorize.Net Token Form</field>
|
|
<field name='model'>payment.token</field>
|
|
<field name="inherit_id" ref="payment.payment_token_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr='//field[@name="acquirer_ref"]' position='after'>
|
|
<field name="provider" invisible="1"/>
|
|
<field name="authorize_profile" attrs="{'invisible':[('provider', '!=', 'authorize')]}"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|