<?xml version="1.0" encoding="utf-8" ?>
<odoo>

  <record id="ebics_admin_order_view_form" model="ir.ui.view">
    <field name="name">EBICS Administrative Order</field>
    <field name="model">ebics.admin.order</field>
    <field name="inherit_id" ref="ebics_xfer_view_form_download" />
    <field name="priority">1</field>
    <field name="arch" type="xml">
      <field name="date_from" position="attributes">
        <attribute name="invisible">1</attribute>
      </field>
      <field name="date_to" position="attributes">
        <attribute name="invisible">1</attribute>
      </field>
      <field name="format_id" position="attributes">
        <attribute name="invisible">1</attribute>
      </field>
      <field name="order_type" position="attributes">
        <attribute name="invisible">1</attribute>
      </field>
      <field name="order_type" position="after">
        <field name="admin_order_type" />
      </field>
      <button name="ebics_download" position="attributes">
        <attribute name="name">ebics_admin_order</attribute>
        <attribute name="string">Execute</attribute>
      </button>
    </field>
  </record>

  <record id="ebics_admin_order_view_form_result" model="ir.ui.view">
    <field name="name">EBICS Administrative Order result</field>
    <field name="model">ebics.admin.order</field>
    <field name="priority">2</field>
    <field name="arch" type="xml">
      <form string="EBICS Administrative Order result">
        <separator colspan="4" string="Results :" />
        <field name="note" colspan="4" nolabel="1" width="850" height="400" />
        <footer>
          <button
                        string="Close"
                        class="btn-secondary"
                        special="cancel"
                        data-hotkey="z"
                    />
        </footer>
      </form>
    </field>
  </record>

  <record id="ebics_admin_order_action" model="ir.actions.act_window">
    <field name="name">EBICS Administrative Order</field>
    <field name="type">ir.actions.act_window</field>
    <field name="res_model">ebics.admin.order</field>
    <field name="view_mode">form</field>
    <field name="target">new</field>
    <field name="view_id" ref="ebics_admin_order_view_form" />
  </record>

</odoo>
