Unwanted Customer link on new Address

Is anybody else experiencing this? (I’m on ERPNext 16.11.0, Frappe Framework 16.2.2).

  1. clear the browser cache
  2. open a Customer, go to the “Address & Contact” tab and click the “New Address” button
  3. an Address creation form appears (unless you have “quick entry” enabled, in which case you have to ask for the full form first); at the bottom of the full form, there’s a link to the Customer
  4. don’t save the address, just navigate away by click a few links in the sidebar (without switching workspaces)
  5. open the Address list (use Ctrl-K and type “Address” to get the link)
  6. click the “Add Address” button
  7. the Address creation form appears, including a link to the Customer you visited previously; there should not be a link in this case since we started from the Address list and not the Customer

Be sure to clear filter in list view before adding an address.

Thanks for the hint. That doesn’t seem to be the problem, though. I had no filters; still cleared them to be sure. The link showed up when it shouldn’t. As long as I stay within the same workspace in step 4, the association with the Customer remains and the link appears on the “new address” form. It looks like it may be a caching issue: if I reload the form, the link goes away. Not a huge deal, but it does feel like a bug.

I have seen the same probleme also, maybe create an issue on github ?

Thank you for the confirmation. I’ll update to the latest version, see if the problem persists, then create an issue.

Here’s the issue: Unwanted Customer link in new Address form · Issue #54779 · frappe/erpnext · GitHub

I ran into something similar and the only thing that gave me a clue was checking the browser console and network tab to see which doc was being pre-fetched. Sometimes an old link sneaks in from localStorage even after clearing cache. If you test in a private window and it disappears, that points to a client-side hiccup. Otherwise yeah, filing an issue is probably the cleanest way to get eyes on it.