<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_bank_statement_form" model="ir.ui.view">
        <field name="name">account.bank.statement.form.population</field>
        <field name="model">account.bank.statement</field>
        <field name="inherit_id" ref="account.view_bank_statement_form" />
        <field name="arch" type="xml">
            <field name="all_lines_reconciled" position="after">
                <button
                    name="%(account_statement_line_create_action)d"
                    string="Import Journal Items"
                    type="action"
                    class="oe_highlight"
                    attrs="{'invisible':[('state', '!=', 'open')]}"
                    groups="account.group_account_user"
                />
            </field>
        </field>
    </record>
</odoo>
