Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppliers Not showing in the list while creating PO. #40272

Closed
nitin-anantpranali opened this issue Apr 20, 2023 · 8 comments · Fixed by #40273
Closed

Suppliers Not showing in the list while creating PO. #40272

nitin-anantpranali opened this issue Apr 20, 2023 · 8 comments · Fixed by #40273
Assignees
Labels

Comments

@nitin-anantpranali
Copy link

Information about bug

On Material Request screen when we click on the Create Purchase Order, on the Dialog Box, the Supplier List is not populated.

MRSupplierSelection

Module

manufacturing

Version

Frappe Chat: v0.0.1 (HEAD)
ERPNext: v14.22.0 (HEAD)
Frappe Framework: v14.33.0 (HEAD)
Frappe HR: v14.2.2 (HEAD)
India Compliance: v14.5.3 (HEAD)
Payments: v0.0.1 (HEAD)

Installation method

None

Relevant log output / Stack trace / Full Error Message.

No response

@Solufyin
Copy link
Contributor

Hi @nitin-anantpranali,

If you want to show the supplier list then do add first like please add the default supplier in Item Master and then check for it.
Then will show the supplier in MR which you set the default supplier in Item.

Please check it.

image

image

Thank You!

@sabgaby
Copy link

sabgaby commented May 11, 2023

I have a similar problem. I hav verified all the items in the material request have a supplier. Yes I get IndexError: list index out of range error.

I can't find help on the interenet? Any ideas?

@s-aga-r
Copy link
Contributor

s-aga-r commented May 15, 2023

@sabgaby would be helpful if you share the traceback

@s-aga-r s-aga-r self-assigned this May 15, 2023
@s-aga-r s-aga-r closed this as completed May 20, 2023
@s-aga-r
Copy link
Contributor

s-aga-r commented May 23, 2023

@sabgaby Thanks for sharing the traceback, could you also share the steps to replicate it?

@s-aga-r
Copy link
Contributor

s-aga-r commented Jun 23, 2023

@sabgaby works for me, looks like it is related to the translation.

Screencast.from.06-23-2023.08.23.46.AM.webm

@sabgaby
Copy link

sabgaby commented Jun 23, 2023

What do you mean by "Translation" and how do I fix this?

@sabgaby
Copy link

sabgaby commented Jun 28, 2023

@s-aga-r Ok. So I found the problem. We noticed that search.py in Line 262 mentioned something about title. So, the thing is, I customized the Supplier Doctype to show the Title in the Link. Once I unchecked it, it somewhat worked. So to fix it, I did:

  1. Customize Form - Supplier
  2. View Settings > ⃞ Show Title in Link Fields (uncheck)
    My Default Suppliers now show, however it won't show the title or anything else other than the supplier name (which is an auto series for us). But I see that it is the same issue in your screencast. I guess this could be improved
    2023-06-28 10 17 47

@s-aga-r
Copy link
Contributor

s-aga-r commented Jun 30, 2023

Since the For Default Supplier has a search query which gets default suppliers from Item Default. But here at least two values are expected for DocTypes with Show Title in Link Fields checked.

@s-aga-r s-aga-r reopened this Jun 30, 2023
@s-aga-r s-aga-r removed their assignment Jun 30, 2023
@s-aga-r s-aga-r transferred this issue from frappe/erpnext Jun 30, 2023
@s-aga-r s-aga-r transferred this issue from frappe/frappe Mar 5, 2024
@s-aga-r s-aga-r self-assigned this Mar 5, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants