You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.8 KiB

  1. <?xml version="1.0" ?>
  2. <openerp>
  3. <data>
  4. <record id="account_bank_statement_import_view" model="ir.ui.view">
  5. <field name="name">Import Bank Statements</field>
  6. <field name="model">account.bank.statement.import</field>
  7. <field name="priority">1</field>
  8. <field name="arch" type="xml">
  9. <form string="Import Bank Statements">
  10. <field name="data_file"/>
  11. <br/><br/><b> How to import your bank statement :</b>
  12. <br/><label string= "1. Download your bank statements from your bank website."/>
  13. <br/><label string= "2. Make sure you have installed the right module to support the file format."/>
  14. <br/><label string= "3. Select the file and click 'Import'."/>
  15. <footer>
  16. <button name="import_file" string="_Import" type="object" class="oe_highlight"/>
  17. or
  18. <button string="Cancel" class="oe_link" special="cancel"/>
  19. </footer>
  20. </form>
  21. </field>
  22. </record>
  23. <record id="action_account_bank_statement_import" model="ir.actions.act_window">
  24. <field name="name">Import Bank Statement</field>
  25. <field name="type">ir.actions.act_window</field>
  26. <field name="res_model">account.bank.statement.import</field>
  27. <field name="view_type">form</field>
  28. <field name="view_mode">form</field>
  29. <field name="target">new</field>
  30. <field name="view_id" ref="account_bank_statement_import_view"/>
  31. </record>
  32. <menuitem id="menu_account_bank_statement_import" parent="account.menu_finance_bank_and_cash" action="action_account_bank_statement_import" sequence="8"/>
  33. </data>
  34. </openerp>