Am seeking for your assistance on a slight challenge in view inheritance
There's a tree-view inside a notebook and that would like to add more fields to.
I have already inherited the main-view as shown below but i can't seem to get the new fields on the mentioned tree-view.
Here's what i have so far and has failed.
Disclaimer: Am newbie so go 'hard' on me
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<!-- <xpath expr="//notebook/page[2]/tree/field[@name='lot_id']" position="after">-->
<!-- <field name="gross_weight"/>-->
<!-- <field name="tare_weight"/>-->
<!-- <field name="moisture_cont" />-->
<!-- </xpath>-->
<notebook position="inside">
<page string="Detailed Operations" attrs="{'invisible': ['|', ('show_operations', '=', False), ('show_reserved', '=', False)]}">
<xpath expr="page[2]" position="inside">
<field name="move_ids_without_package" position="after">
<xpath expr="//tree/field[@name='lot_id']" position="after">
<field name="gross_weight"/>
<field name="tare_weight"/>
<field name="moisture_cont" />
</xpath>
</field>
</xpath>
</page>
</notebook>
</field>