<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_move_form" model="ir.ui.view">
        <field name="name">view.account.move.form</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account.view_move_form" />
        <field name="arch" type="xml">
            <xpath
                expr="//group[@name='sale_info_group']/field[@name='ref']"
                position="after"
            >
                <field name="reason_id" invisible="not reason_id" readonly="1" />
            </xpath>
        </field>
    </record>
</odoo>
