<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="view_inventory_form_package" model="ir.ui.view">
        <field name="model">stock.inventory</field>
        <field name="inherit_id" ref="stock.view_inventory_form" />
        <field name="arch" type="xml">
            <xpath expr="//field[@name='line_ids']//field[@name='product_id']" position="after">
                <field name="package_qty"/>
            </xpath>
        </field>
    </record>
</odoo>