You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
1.2 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inheriting providers to add cybersource provider fields -->
<record id="payment_provider_form" model="ir.ui.view">
<field name="name">payment.provider.view.form.inherit.advanced.payment.cybersource</field>
<field name="model">payment.provider</field>
<field name="inherit_id" ref="payment.payment_provider_form"/>
<field name="arch" type="xml">
<group name="provider_credentials" position='inside'>
<group invisible="code != 'cybersource'">
<field name="cyber_merchant"
string="Merchant ID"
required="code == 'cybersource' and state != 'disabled'"/>
<field name="cyber_key"
string="key" password="1"
required="code == 'cybersource' and state != 'disabled'"/>
<field name="cyber_secret_key"
string="Secret key" password="1"
required="code == 'cybersource' and state != 'disabled'"/>
</group>
</group>
</field>
</record>
</odoo>