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

    <record model="ir.ui.view" id="stock_return_picking_form_view">
        <field
            name="name"
        >stock.return.picking.form (in stock_restocking_fee_invoicing)</field>
        <field name="model">stock.return.picking</field>
        <field name="inherit_id" ref="stock.view_stock_return_picking_form" />
        <field name="arch" type="xml">
            <field name="product_return_moves" position="after">
                <field name="is_customer_return" invisible="1" />
                <group attrs="{'invisible':[('is_customer_return','=',False)]}">
                    <field name="charge_restocking_fee" />
                </group>
            </field>
            <field name="quantity" position="after">
                <field name="is_customer_return" invisible="1" />
                <field
                    name="charge_restocking_fee"
                    attrs="{'column_invisible':[('is_customer_return','=',False)]}"
                />
            </field>
        </field>
    </record>

</odoo>
