Skip to content

Creating an item with item id of previously deleted item result in attribute being carried over #47662

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

Closed
brebribre opened this issue May 21, 2025 · 1 comment
Labels

Comments

@brebribre
Copy link

brebribre commented May 21, 2025

Information about bug

Steps to replicate

  1. Create an item e.g. with item id SKU123
  2. Change attributes of the item (in this case, checking has Variant, and creating a variant)
  3. Save changes
  4. Delete the item
  5. Create new item with exact same item id
  6. see that attribute gets carried over initially when we go to the item details page
  7. refresh, see that it reverts back to default values

Expected result: Attribute should not be carried over, despite the same item ID (because the previous one is deleted)

Actual result: Attributes are carried over, and are only gone when user refresh

Screen.Recording.2025-05-21.at.14.42.59.mov

Module

stock

Version

ERPNext: v15.62.0
Frappe Framework: v15.68.1

Installation method

None

Relevant log output / Stack trace / Full Error Message.

@brebribre brebribre added the bug label May 21, 2025
@DipenFrappe
Copy link
Collaborator

Working fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants