--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+ <data>
+ <record id="view_bank_statement_form2_invoice" model="ir.ui.view">
+ <field name="name">account.bank.statement.form2.inherit</field>
+ <field name="model">account.bank.statement</field>
+ <field name="inherit_id" ref="account.view_bank_statement_form2"/>
+ <field name="arch" type="xml">
+ <xpath expr="//label[@for='name']" position="before">
+ <div class="oe_right oe_button_box" name="import_buttons">
+ <button name="%(account_voucher.action_view_account_statement_from_invoice_lines)d"
+ string="Import Invoices" type="action"
+ attrs="{'invisible':[('state','=','confirm')]}"/>
+ </div>
+ </xpath>
+ </field>
+ </record>
+ </data>
+</openerp>