<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 ACSONE SA/NV
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>

    <record model="ir.ui.view" id="account_move_line_form_view">
        <field name="name">account.move.line.form (in account_move_fiscal_year)</field>
        <field name="model">account.move.line</field>
        <field name="inherit_id" ref="account.view_move_line_form" />
        <field name="priority" eval="20" />
        <field name="arch" type="xml">
            <field name="date" position="after">
                <field name="date_range_fy_id" options="{'no_open': True}" />
            </field>
        </field>
    </record>

    <record model="ir.ui.view" id="account_move_line_search_view">
        <field
            name="name"
        >account.move.line.search (in account_move_fiscal_year)</field>
        <field name="model">account.move.line</field>
        <field name="inherit_id" ref="account.view_account_move_line_filter" />
        <field name="priority" eval="20" />
        <field name="arch" type="xml">

            <field name="date" position="after">
                <field name="date_range_fy_id" />
            </field>

        </field>
    </record>

    <record model="ir.ui.view" id="account_move_line_tree_view">
        <field name="name">account.move.line.tree (in account_move_fiscal_year)</field>
        <field name="model">account.move.line</field>
        <field name="inherit_id" ref="account.view_move_line_tree" />
        <field name="priority" eval="20" />
        <field name="arch" type="xml">
            <field name="date" position="after">
                <field name="date_range_fy_id" />
            </field>
        </field>
    </record>

</odoo>
