<?xml version="1.0"?>
<form>
                    <field name="num_journals_without_account" invisible="1"/>
                    <field name="journal_id" invisible="1"/>
                    <field name="company_id" invisible="1"/>
                    <field name="linked_journal_id" invisible="1"/>
                    <sheet>
                        <group>
                            <group>
                                <field name="acc_number" placeholder="e.g BE15001559627230"/>
                                <field name="bank_id" placeholder="e.g Bank of America"/>
                                <field name="bank_bic" placeholder="e.g GEBABEBB" string="Bank Identifier Code"/>
                            </group>
                        </group>
                        <group attrs="{'invisible': [('num_journals_without_account', '=', 0)]}">
                            <group>
                                <field name="linked_journal_id" options="{'no_create': True}"/>
                            </group>
                            <group>
                                <span class="text-muted" colspan="2">
                                    Leave empty to create a new journal for this bank account, or select a journal to link it with the bank account.
                                </span>
                            </group>
                        </group>
                    </sheet>
                    <footer>
                        <button string="Create" class="oe_highlight" type="object" name="validate" data-hotkey="q"/>
                        <button string="Cancel" special="cancel" data-hotkey="z"/>
                    </footer>
                </form>
            