How can I solve this issue?

Error message:

my code:

I think the error in this line:
query: “erpnext.contacts.doctype.contact.contact.get_contact_display”

@mohamed_prosepra

I believe the error is in this line:
query: "erpnext.contacts.doctype.contact.contact.get_contact_display"

This function is not from the ERPNext repository, it’s from the Frappe repository. So, it should be referenced as:
"frappe.contacts.doctype.contact.contact.get_contact_display_list"

OR You can try this also:
erpnext.stock.doctype.delivery_trip.delivery_trip.get_contact_display

Both not working!


No it should work. Just pass contact name only like this image

I need to display all contacts