diff --git a/erpnext/portal/doctype/homepage/homepage.js b/erpnext/portal/doctype/homepage/homepage.js index df7f5ce6ae..100074f07d 100644 --- a/erpnext/portal/doctype/homepage/homepage.js +++ b/erpnext/portal/doctype/homepage/homepage.js @@ -15,7 +15,7 @@ frappe.ui.form.on('Homepage Featured Product', { method: 'frappe.client.get_value', args: { 'doctype': 'Item', - 'filters': featured_product.item_code, + 'filters': {'name': featured_product.item_code}, 'fieldname': [ 'item_name', 'web_long_description',