Issue Search fields of Supplier doesn't work

Hi All

I found I can’t search Supplier by Search Fields. I think It’s missing or we can find the another solution search Supplier by Seach Fields.

but with Customer I can search

And I check code, I found supplier_query function is missing call
/apps/erpnext/erpnext/controllers\queries.py

meta = frappe.get_meta("Supplier")
searchfields = meta.get_search_fields()

3 Likes

Yes we need to implement that for the supplier query too. Do you want to fix this and send a pull request?

1 Like

@vinhnguyent090
Good work hunting it down! Keep finding things like these…it will benefit the community!
Good day!

3 Likes

Hi @rmehta

Yes sure please help me fix this problem, thank you very much

You can just try and re-implement the code you identified (correctly!) and then send a pull request at GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)

1 Like