mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
updates in purchase cycle's price list
This commit is contained in:
@@ -82,7 +82,7 @@ def get_item_details(args):
|
||||
|
||||
if args.doctype in ["Purchase Order", "Purchase Invoice", "Purchase Receipt"]:
|
||||
# try fetching from price list
|
||||
if args.price_list_name:
|
||||
if args.price_list_name and args.price_list_currency:
|
||||
rates_as_per_price_list = get_rates_as_per_price_list(args, item_wrapper.doclist)
|
||||
if rates_as_per_price_list:
|
||||
out.update(rates_as_per_price_list)
|
||||
|
||||
Reference in New Issue
Block a user