<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 ForgeFlow (http://www.forgeflow.com)
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). -->
<odoo>
    <record id="view_move_form" model="ir.ui.view">
        <field name="name">account.move.form.inherit</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account.view_move_form" />
        <field name="arch" type="xml">
            <field name="quantity" position="after">
                <field
                    name="sale_qty_to_reinvoice"
                    column_invisible="parent.move_type != 'out_refund' or not parent.sale_order_count"
                    optional="show"
                />
            </field>
        </field>
    </record>
</odoo>
