<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 Camptocamp SA, 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_form">
        <field name="name">account.move.form in (account_move_batch_validate)</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account.view_move_form"/>
        <field name="arch" type="xml">

            <field name="ref" position="after">
                <field name="to_post"/>
            </field>

        </field>
    </record>

    <record model="ir.ui.view" id="account_move_tree">
        <field name="name">account.move.tree in (account_move_batch_validate)</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account.view_move_tree"/>
        <field name="arch" type="xml">

            <field name="state" position="after">
                <field name="to_post"/>
            </field>

        </field>
    </record>

</odoo>
