Merge pull request #16325 from rohitwaghchaure/not_able_to_access_report_quoted_item_comparison
fix: report quoted item comparison not working
This commit is contained in:
commit
f14c56488f
@ -65,8 +65,8 @@ def get_quantity_list(item):
|
||||
|
||||
if 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)
|
||||
qty_list.sort(reverse=False)
|
||||
where ifnull(item_code,'')=%s and docstatus < 2 order by qty""", item, as_dict=1)
|
||||
|
||||
for qt in qty_list:
|
||||
col = frappe._dict({
|
||||
"key": str(qt.qty),
|
||||
|
Loading…
Reference in New Issue
Block a user