5 <record id="account_bank_statement_import_view" model="ir.ui.view">
6 <field name="name">Import Bank Statements</field>
7 <field name="model">account.bank.statement.import</field>
8 <field name="priority">1</field>
9 <field name="arch" type="xml">
10 <form string="Import Bank Statements" version="7.0">
13 <field name="data_file"/>
14 <field name="file_type"/>
15 <field name="journal_id" domain="[('type', '=', 'bank')]" context="{'default_type':'bank'}"/>
18 <b colspan="2"> How to import your bank statement in OpenERP.</b>
19 <label string= "1. Go to your bank account website." colspan="2"/>
20 <label string= "2. Download your bank statements in the right format. (.OFX, .QIF or CODA are accepted)" colspan="2"/>
21 <label string= "3. Upload right here the bank statements file into OpenERP. Click Import." colspan="2"/>
25 <button name="parse_file" string="_Import" type="object" class="oe_highlight"/>
27 <button string="Cancel" class="oe_link" special="cancel"/>
33 <record id="action_account_bank_statement_import" model="ir.actions.act_window">
34 <field name="name">Import Bank Statements</field>
35 <field name="type">ir.actions.act_window</field>
36 <field name="res_model">account.bank.statement.import</field>
37 <field name="view_type">form</field>
38 <field name="view_mode">form</field>
39 <field name="target">new</field>
40 <field name="view_id" ref="account_bank_statement_import_view"/>
43 <menuitem parent="account.menu_finance_bank_and_cash" id="menu_account_bank_statement_import" action="action_account_bank_statement_import" sequence="11"/>