Skip to content

Commit

Permalink
[IMP] stock_picking_volume: add volume and uom to tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
joelkm committed Oct 14, 2024
1 parent 4e23deb commit f58d5e3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions stock_picking_volume/views/stock_picking.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,16 @@
</field>
</record>

<record model="ir.ui.view" id="stock_picking_tree_view">
<field name="name">stock.picking.tree (in stock_picking_volume)</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.vpicktree" />
<field name="arch" type="xml">
<xpath expr="//field[@name='origin']" position="after">
<field name="volume" optional="hide" />
<field name="volume_uom_name" nolabel="1" optional="hide" />
</xpath>
</field>
</record>

</odoo>

0 comments on commit f58d5e3

Please sign in to comment.