diff --git a/stock_lot_on_hand_first/views/stock_picking.xml b/stock_lot_on_hand_first/views/stock_picking.xml
index abf540f9a89..5c7c976e537 100644
--- a/stock_lot_on_hand_first/views/stock_picking.xml
+++ b/stock_lot_on_hand_first/views/stock_picking.xml
@@ -8,6 +8,15 @@
+
+ {'name_search_qty_on_hand_first': parent.display_lots_on_hand_first}
+