diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index f53013773e0..621e9a749e8 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -1149,7 +1149,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({ } if (item.warehouse) filters["warehouse"] = item.warehouse; - return s + return { query : "erpnext.controllers.queries.get_batch_no", filters: filters }