I'm trying extend inventory detailed operation with 1 more field.
To do this in Operations I can just create a record
<data>
<record id="extendet_inventory" model="ir.ui.view">
<field name="name">Inventory</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='move_ids_without_package']/tree/field[@name='product_id']" position="before">
<field name="unit_name"/>
</xpath>
</field>
</record>
</data>
But when I changingexpr="//field[@name='move_ids_without_package']
toexpr="//field[@name='move_line_ids_without_package']
and want work with Detailed operations Odoo shows error:Element '<xpath expr="//field[@name='move_line_ids_without_package']/tree/field[@name='product_id']">' cannot be located in parent viewElement '<xpath expr="//field[@name='move_line_ids_without_package']/tree/field[@name='product_id']">' cannot be located in parent view
How can I write correct path to add 1 more field to this tree?
Reference: https://goo.gl/4Zyc9d