flectra/addons/payment_stripe/views/payment_views.xml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

22 lines
956 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<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>
</odoo>