From a90186f9aec48d5b8d2adf388f91d6e8b6b85a69 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Thu, 16 May 2024 19:19:52 +0530 Subject: [PATCH] fix: Unable to add items in POS Invoice (cherry picked from commit 7a3f8a5afb357d14048a78eb389ac2676f993978) --- erpnext/selling/page/point_of_sale/pos_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/page/point_of_sale/pos_controller.js b/erpnext/selling/page/point_of_sale/pos_controller.js index 452019ebf4b..864ceffa8b1 100644 --- a/erpnext/selling/page/point_of_sale/pos_controller.js +++ b/erpnext/selling/page/point_of_sale/pos_controller.js @@ -684,7 +684,7 @@ erpnext.PointOfSale.Controller = class { const is_stock_item = resp[1]; frappe.dom.unfreeze(); - const bold_uom = item_row.stock_uom.bold(); + const bold_uom = item_row.uom.bold(); const bold_item_code = item_row.item_code.bold(); const bold_warehouse = warehouse.bold(); const bold_available_qty = available_qty.toString().bold();