diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index 6833036122f..80bc1a34d0d 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -914,6 +914,9 @@ frappe.ui.form.on("Stock Entry Detail", { item_code(frm, cdt, cdn) { var d = locals[cdt][cdn]; + // since some items may not have image, so empty the image field to avoid setting the image of previous item + d.image = ""; + if (d.item_code) { var args = { item_code: d.item_code,