Selecting address for Lead from Quotation shows error

If I try making a New Quotation for a Lead, I’m unable to select a Shipping Address for the Lead manually, with the error “Please enter Customer/Supplier first”.

Tried the same on http://demo.erpnext.com, and the problem persists.

Exact steps for recreation:

  1. Create a lead without an address.
  2. Create a Quotation for the lead.
  3. Under Address> Create new address for lead.
  4. Go back to quotation, and try selecting the Address you just created.

I couldn’t find the error through “grep” on the local installation. Any help on how to bypass this error?

Much appreciated.!
-Tanuj

Hello,

Thanks for reporting this issue. I was able to replicate it in my test account as well. We will update you when this issue is resolved.

For now, re-select Lead in the Quotation after adding Address in the Lead. On re-selecting Lead, address will be fetched automatically in the Quotation.

1 Like

9 years later, still the same problem.
After selecting customer in Sales Order I get:

Please enter Lead / Customer / Supplier first

One solution is that after error you can select customer again and it will work. I have also noticed that if I reinstall the problem is gone. But on my production database problem persists. Even after migrate and clear-cache. So it must be that database got corupted with one of the updates.