Skip to content

Commit

Permalink
Also sort lots in the Operations tab of a picking
Browse files Browse the repository at this point in the history
  • Loading branch information
astirpe committed Oct 15, 2024
1 parent 3b3c057 commit 3c38448
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stock_lot_on_hand_first/views/stock_picking.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
<field name="use_create_lots" position="after">
<field name="display_lots_on_hand_first" invisible="1" />
</field>
<xpath
expr="//field[@name='move_ids_without_package']//field[@name='lot_ids']"
position="attributes"
>
<attribute
name="context"
operation="update"
>{'name_search_qty_on_hand_first': parent.display_lots_on_hand_first}</attribute>
</xpath>
</field>
</record>
</odoo>

0 comments on commit 3c38448

Please sign in to comment.