xml detail:
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record model="ir.ui.view" id="delivery_order_form_inherit_related2">
<field name="name">delivery.order.form.inherit_related2</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<xpath expr="/form/sheet/notebook/page/field[@name='move_lines']/kanban/field[@name='product_uom_qty']" position="before">
<field name="x_test2" string="Serial Number"/>
</xpath>
</field>
</record>
</odoo>
Python Code:
from odoo import models, fields
class StockMove(models.Model):
_inherit = 'stock.move'
x_test2 = fields.Text(string="Test")