mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
[Fix] Report quoted item comparison not working
This commit is contained in:
@@ -65,8 +65,8 @@ def get_quantity_list(item):
|
|||||||
|
|
||||||
if item:
|
if item:
|
||||||
qty_list = frappe.db.sql("""select distinct qty from `tabSupplier Quotation Item`
|
qty_list = frappe.db.sql("""select distinct qty from `tabSupplier Quotation Item`
|
||||||
where ifnull(item_code,'')=%s and docstatus < 2""", item, as_dict=1)
|
where ifnull(item_code,'')=%s and docstatus < 2 order by qty""", item, as_dict=1)
|
||||||
qty_list.sort(reverse=False)
|
|
||||||
for qt in qty_list:
|
for qt in qty_list:
|
||||||
col = frappe._dict({
|
col = frappe._dict({
|
||||||
"key": str(qt.qty),
|
"key": str(qt.qty),
|
||||||
|
|||||||
Reference in New Issue
Block a user