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 10250e8 commit 59936ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/selling/page/point_of_sale/point_of_sale.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ def get_items(start, page_length, price_list, item_group, pos_profile, search_te
"currency": price.get("currency"),
"uom": price.uom or item.uom,
"batch_no": price.batch_no,
"item_price": item_prices.get(item_code) or {}, #//// added from v14 maybe conflict
"item_promo": item_promos.get(item_code) or {} #//// added from v14 maybe conflict
"item_price": item_prices.get('item_code') or {}, #//// added from v14 maybe conflict
"item_promo": item_promos.get('item_code') or {} #//// added from v14 maybe conflict
}
)
return {"items": result}
Expand Down

0 comments on commit 59936ef

Please sign in to comment.