When setting up an acquirer there is sensible information to be supplied. There was inconsistency on what was obfuscated and what not. Now sensible information as passwords and keys is obfuscated and public information as names and addresses is visible. Task - 2694139 closes odoo/odoo#81211 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
19 lines
879 B
XML
19 lines
879 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="payment_acquirer_form" model="ir.ui.view">
|
|
<field name="name">Buckaroo 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', '!=', 'buckaroo')]}">
|
|
<field name="buckaroo_website_key" attrs="{'required':[ ('provider', '=', 'buckaroo'), ('state', '!=', 'disabled')]}"/>
|
|
<field name="buckaroo_secret_key" string="Secret Key" attrs="{'required':[ ('provider', '=', 'buckaroo'), ('state', '!=', 'disabled')]}" password="True"/>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|