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

Feature Request: Reset Average Price Field #832

Open
naturalgeek opened this issue Mar 12, 2017 · 6 comments
Open

Feature Request: Reset Average Price Field #832

naturalgeek opened this issue Mar 12, 2017 · 6 comments

Comments

@naturalgeek
Copy link

naturalgeek commented Mar 12, 2017

sometimes the avg price field shows shit.
The possibility to reset and/or force change the current avg price would be nice.

If the avg field is a real time calculation of the past orders it might be cool if past orders could be
removed from this calculation, for example if a part normally costs 2 euros at pollin but in a certain situation you have to pay 5000 bucks because you got it from conrad instead.

or just because you forgot to select the "per item" checkbox while adding a new part.

@twelve12pm
Copy link

In the beginning when we used PartKeepr we did not enter item prices. Now we do, but our average price shows junk because of all the "free" parts we purchased in the past. A part that costs several dollars might show an average price of a few cents because PartKeepr thinks the cost used to be zero.

I think the easiest solution to this problem is to take the average only when the price is nonzero. So if the price was zero for a while and suddenly there is a nonzero price, the zero price quantity would automatically be excluded from the calculation. This way the user will not need to track down all the parts that have this problem and manually exclude a date range, etc.

@baradhili
Copy link
Collaborator

linked to #302 ... Average Price is a real pain and need s a redesign

@PGCJLEngineer
Copy link

Is anybody able to tell me how to adjust the 'add parts' dialogue box to include an additional field for the price of new parts. I can then get this daft average price bug fixed. (I can do the SQL code but am not familiar with the web-page development).
Thanks

@christianlupus
Copy link
Collaborator

I think everything should be there already in the UI or am I wrong? This is how it looks for me on the demo page:
Screenshot_2020-07-27 PartKeepr

What else do you want to add?

@PGCJLEngineer
Copy link

Sorry, I am actually looking for the location of the source code for this and the remove-parts dialogue boxes.

@christianlupus
Copy link
Collaborator

This form is found here.

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

No branches or pull requests

6 participants