From 7a3f8a5afb357d14048a78eb389ac2676f993978 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 --- 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 0fefdf51292..bb825de1253 100644 --- a/erpnext/selling/page/point_of_sale/pos_controller.js +++ b/erpnext/selling/page/point_of_sale/pos_controller.js @@ -694,7 +694,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();