<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record model="ir.ui.view" id="online_bank_statement_provider_form">
        <field name="name">online.bank.statement.provider.form</field>
        <field name="model">online.bank.statement.provider</field>
        <field
            name="inherit_id"
            ref="account_statement_import_online.online_bank_statement_provider_form"
        />
        <field name="arch" type="xml">
            <xpath expr="//group[@name='main']" position="inside">
                <group name="qonto" attrs="{'invisible':[('service','!=','qonto')]}">
                    <field name="username" string="Login" />
                    <field name="password" string="Key" />
                </group>
            </xpath>
        </field>
    </record>
</odoo>
