From 3c6ed0a565aa1f3371feeba02cb46d0ba9ad7627 Mon Sep 17 00:00:00 2001 From: venkat102 Date: Sat, 25 Jan 2025 12:59:04 +0530 Subject: [PATCH] fix(pos): add item in the existing item row when discount is applied (cherry picked from commit bee2c04d0bd882f32f417a3664e5a7586383a239) --- 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 35622a77e2c6..a81bef3db329 100644 --- a/erpnext/selling/page/point_of_sale/pos_controller.js +++ b/erpnext/selling/page/point_of_sale/pos_controller.js @@ -635,7 +635,7 @@ erpnext.PointOfSale.Controller = class { i.item_code === item_code && (!has_batch_no || (has_batch_no && i.batch_no === batch_no)) && i.uom === uom && - i.rate == rate + i.price_list_rate === flt(rate) ); }