<?xml version="1.0" encoding="utf-8" ?>
<odoo>

    <record id="ebics_change_passphrase_view_form" model="ir.ui.view">
        <field name="name">EBICS Keys Change Passphrase</field>
        <field name="model">ebics.change.passphrase</field>
        <field name="priority">1</field>
        <field name="arch" type="xml">
            <form string="EBICS Keys Change Passphrase">
                <group>
                    <group name="pass">
                        <field name="old_pass" password="True" />
                        <field name="new_pass" password="True" />
                        <field name="new_pass_check" password="True" />
                    </group>
                    <group
                        name="sig_pass"
                        attrs="{'invisible': [('ebics_sig_passphrase_invisible', '=', True)]}"
                    >
                        <field name="old_sig_pass" password="True" />
                        <field name="new_sig_pass" password="True" />
                        <field name="new_sig_pass_check" password="True" />
                    </group>
                    <group name="invisible" invisible="1">
                        <field name="ebics_sig_passphrase_invisible" />
                    </group>
                </group>
                <footer>
                    <button
                        name="change_passphrase"
                        string="Change Passphrase"
                        type="object"
                        class="btn-primary"
                        data-hotkey="q"
                    />
                    <button
                        string="Cancel"
                        class="btn-secondary"
                        special="cancel"
                        data-hotkey="z"
                    />
                </footer>
            </form>
        </field>
    </record>

    <record id="ebics_change_passphrase_view_form_result" model="ir.ui.view">
        <field name="name">EBICS Keys Change Passphrase</field>
        <field name="model">ebics.change.passphrase</field>
        <field name="priority">2</field>
        <field name="arch" type="xml">
            <form string="EBICS Keys Change Passphrase">
                <separator colspan="4" string="Results :" />
                <field name="note" colspan="4" nolabel="1" width="850" height="400" />
                <footer>
                    <button
                        name="button_close"
                        type="object"
                        string="Close"
                        data-hotkey="z"
                    />
                </footer>
            </form>
        </field>
    </record>

</odoo>
