mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
[fix][report] in item prices
This commit is contained in:
@@ -69,10 +69,11 @@ def get_price_list():
|
|||||||
from `tabItem Price` where docstatus<2""", as_dict=1)
|
from `tabItem Price` where docstatus<2""", as_dict=1)
|
||||||
|
|
||||||
for j in price_list:
|
for j in price_list:
|
||||||
if j.selling:
|
if j.price:
|
||||||
rate.setdefault(j.parent, {}).setdefault("selling", []).append(j.price)
|
if j.selling:
|
||||||
if j.buying:
|
rate.setdefault(j.parent, {}).setdefault("selling", []).append(j.price)
|
||||||
rate.setdefault(j.parent, {}).setdefault("buying", []).append(j.price)
|
if j.buying:
|
||||||
|
rate.setdefault(j.parent, {}).setdefault("buying", []).append(j.price)
|
||||||
|
|
||||||
item_rate_map = {}
|
item_rate_map = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user