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

[BuG] Storage location not preserved on error in new purchases #4171

Closed
2 tasks
cielf opened this issue Mar 10, 2024 · 1 comment · Fixed by #4215
Closed
2 tasks

[BuG] Storage location not preserved on error in new purchases #4171

cielf opened this issue Mar 10, 2024 · 1 comment · Fixed by #4215
Assignees

Comments

@cielf
Copy link
Collaborator

cielf commented Mar 10, 2024

Summary

On a new purchase, if you select a storage location, but have an error, the storage location resets to the first one in the list. Fix it so it remains.

Why?

If this is not noticed, the purchase will go to the wrong storage location, and the inventory will not be what is expected. This is bad.

Details

Recreation

Purchases | New Purchase
Fill in partial information -- I added the vendor, selected a storage location that was not the first one, left the prices empty, and added one item. Hit save.
You will see that the storage location is back to the first one ('Bulk Storage Location').

Criteria for completion

  • Storage location is preserved on error
  • tests to demonstrate this behaviour
@cielf cielf added Help Wanted Groomed + open to all! Difficulty—Beginner labels Mar 10, 2024
@aniketpatidar
Copy link
Contributor

@cielf I would like to contribute to this one!

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

Successfully merging a pull request may close this issue.

2 participants