diff --git a/selling/doctype/sales_common/sales_common.js b/selling/doctype/sales_common/sales_common.js index dea94b8f3d4..5c0c96ad569 100644 --- a/selling/doctype/sales_common/sales_common.js +++ b/selling/doctype/sales_common/sales_common.js @@ -95,7 +95,7 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({ return{ query : "selling.doctype.sales_common.sales_common.get_batch_no", filters: { - 'item': item.item_code, + 'item_code': item.item_code, 'posting_date': me.frm.doc.posting_date } }