fix: item price stock report not working
This commit is contained in:
parent
9942fcc8cb
commit
2e01573a40
@ -89,7 +89,7 @@ def get_item_price_qty_data(filters):
|
|||||||
{conditions}"""
|
{conditions}"""
|
||||||
.format(conditions=conditions), filters, as_dict=1)
|
.format(conditions=conditions), filters, as_dict=1)
|
||||||
|
|
||||||
price_list_names = list(set([frappe.db.escape(item.price_list_name) for item in item_results]))
|
price_list_names = list(set([item.price_list_name for item in item_results]))
|
||||||
|
|
||||||
buying_price_map = get_price_map(price_list_names, buying=1)
|
buying_price_map = get_price_map(price_list_names, buying=1)
|
||||||
selling_price_map = get_price_map(price_list_names, selling=1)
|
selling_price_map = get_price_map(price_list_names, selling=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user