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

Negative stock problem #137

Open
twmr1980 opened this issue May 25, 2018 · 0 comments
Open

Negative stock problem #137

twmr1980 opened this issue May 25, 2018 · 0 comments

Comments

@twmr1980
Copy link

[When the stock level falls too low, it starts drastically falling ]

When the stock level of an item hits a negative number, its number becomes off by a factor of 6. When it hits some unknown, too far, level, it drastically changes.
For example:
Water: Actual sold = 577, Stock qty = -1603, the difference of 1026 is factor of 6 (1026/6=171)
YooHoo: Sold = 61, stock qty = -67, diff of 6
Oatmeal: Sold = 38, stock qty = -50, diff of 12
Pepsi: Sold = 118, stock qty = -136, diff of 18
While typing i realized another pattern. For every 50 it is negative, the factor of 6 increases by that amount. e.g. negative 1 thru 49, it is of by 6, 50-99 it is off by 12, 100-149 off by 18, etc.
Process

[ordered list the process to finding and recreating the issue, example below]

  1. User goes to delete a dataset (to save space or whatever)
  2. User gets popup modal warning
  3. User deletes and it's lost forever

Expected result

[describe what you would expect to have resulted from this process]

Current result

[describe what you you currently experience from this process, and thereby explain the bug]

Possible Fix

[not obligatory, but suggest fixes or reasons for the bug]

  • Modal tells the user what dataset is being deleted, like “You are about to delete this dataset: car_crashes_2014.”
  • A temporary "Trashcan" where you can recover a just deleted dataset if you mess up (maybe it's only good for a few hours, and then it cleans the cache assuming you made the right decision).

name of issue screenshot

[if relevant, include a screenshot]

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

No branches or pull requests

1 participant