From 10250e81843b3ef1a785c6c1b1b9aa0e88875c06 Mon Sep 17 00:00:00 2001 From: bVisible Date: Mon, 30 Oct 2023 13:54:12 +0100 Subject: [PATCH] Update point_of_sale.py --- erpnext/selling/page/point_of_sale/point_of_sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/page/point_of_sale/point_of_sale.py b/erpnext/selling/page/point_of_sale/point_of_sale.py index 7978e8802279..b82b0541ae9c 100644 --- a/erpnext/selling/page/point_of_sale/point_of_sale.py +++ b/erpnext/selling/page/point_of_sale/point_of_sale.py @@ -187,7 +187,7 @@ def get_items(start, page_length, price_list, item_group, pos_profile, search_te for price in item_price: #//// added from v14 maybe conflict item_prices[price.item_code] = price - promo = get_price(dprice.item_code, price_list, '', company, from_pos=True) + promo = get_price(price.item_code, price_list, '', company, from_pos=True) if promo: item_promos[price.item_code] = float(promo.get('price_list_rate')) if promo.get('formatted_mrp') else '-1' #////