[minor] fix filter for item-code

This commit is contained in:
Rushabh Mehta 2016-07-28 15:36:11 +05:30
parent 180e43585f
commit 26005c25b2

View File

@ -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',