Skip to content

Commit

Permalink
Update point_of_sale.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bvisible authored Oct 30, 2023
1 parent 1e6d6f0 commit 10250e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/selling/page/point_of_sale/point_of_sale.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
#////
Expand Down

0 comments on commit 10250e8

Please sign in to comment.