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.

24 lines
998 B

  1. <?xml version="1.0" ?>
  2. <openerp>
  3. <data>
  4. <record id="account_bank_statement_import_view_inherited" model="ir.ui.view">
  5. <field name="name">Import Bank Statements Inherited</field>
  6. <field name="model">account.bank.statement.import</field>
  7. <field name="priority" eval="20"/>
  8. <field name="inherit_id" ref="account_bank_statement_import.account_bank_statement_import_view" />
  9. <field name="arch" type="xml">
  10. <xpath expr="//field[@name='data_file']" position="after">
  11. <field name="hide_journal_field" invisible="1"/>
  12. <label for="journal_id"/>
  13. <field name="journal_id"
  14. domain="[('type', '=', 'bank')]"
  15. attrs="{'invisible': [('hide_journal_field', '=', True)]}"
  16. context="{'default_type':'bank'}"/>
  17. </xpath>
  18. </field>
  19. </record>
  20. </data>
  21. </openerp>