flectra/addons/payment_stripe/views/payment_views.xml

22 lines
962 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<record id="acquirer_form_stripe" model="ir.ui.view">
<field name="name">payment.acquirer.form.inherit</field>
<field name="model">payment.acquirer</field>
<field name="inherit_id" ref="payment.acquirer_form"/>
<field name="arch" type="xml">
<xpath expr='//group[@name="acquirer"]' position='after'>
<group attrs="{'invisible': [('provider', '!=', 'stripe')]}">
<field name="stripe_secret_key" password="True"/>
<field name="stripe_publishable_key" password="True"/>
</group>
</xpath>
<xpath expr='//group[@name="acquirer_config"]' position='after'>
<group attrs="{'invisible': [('provider', '!=', 'stripe')]}">
<field name="stripe_image_url"/>
</group>
</xpath>
</field>
</record>
2018-01-16 11:34:37 +01:00
</flectra>