[minor] fix filter for item-code
This commit is contained in:
parent
180e43585f
commit
26005c25b2
@ -15,7 +15,7 @@ frappe.ui.form.on('Homepage Featured Product', {
|
|||||||
method: 'frappe.client.get_value',
|
method: 'frappe.client.get_value',
|
||||||
args: {
|
args: {
|
||||||
'doctype': 'Item',
|
'doctype': 'Item',
|
||||||
'filters': featured_product.item_code,
|
'filters': {'name': featured_product.item_code},
|
||||||
'fieldname': [
|
'fieldname': [
|
||||||
'item_name',
|
'item_name',
|
||||||
'web_long_description',
|
'web_long_description',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user