mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
Merge pull request #4704 from chaoyee/develop
Update material_request.py
This commit is contained in:
@@ -258,7 +258,8 @@ def get_material_requests_based_on_supplier(supplier):
|
|||||||
and mr.material_request_type = 'Purchase'
|
and mr.material_request_type = 'Purchase'
|
||||||
and mr.per_ordered < 99.99
|
and mr.per_ordered < 99.99
|
||||||
and mr.docstatus = 1
|
and mr.docstatus = 1
|
||||||
and mr.status != 'Stopped'""" % ', '.join(['%s']*len(supplier_items)),
|
and mr.status != 'Stopped'
|
||||||
|
order by mr_item.item_code ASC""" % ', '.join(['%s']*len(supplier_items)),
|
||||||
tuple(supplier_items))
|
tuple(supplier_items))
|
||||||
else:
|
else:
|
||||||
material_requests = []
|
material_requests = []
|
||||||
|
|||||||
Reference in New Issue
Block a user