mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
Batch no get query fix
This commit is contained in:
@@ -676,9 +676,9 @@ def get_batch_no(doctype, txt, searchfield, start, page_len, filters):
|
|||||||
|
|
||||||
batch_nos = None
|
batch_nos = None
|
||||||
args = {
|
args = {
|
||||||
'item_code': filters['item_code'],
|
'item_code': filters.get("item_code"),
|
||||||
's_warehouse': filters['s_warehouse'],
|
's_warehouse': filters.get('s_warehouse'),
|
||||||
'posting_date': filters['posting_date'],
|
'posting_date': filters,get('posting_date'),
|
||||||
'txt': "%%%s%%" % txt,
|
'txt': "%%%s%%" % txt,
|
||||||
'mcond':get_match_cond(doctype),
|
'mcond':get_match_cond(doctype),
|
||||||
"start": start,
|
"start": start,
|
||||||
|
|||||||
Reference in New Issue
Block a user