PartKeepr
PartKeepr copied to clipboard
Feature Request: Reset Average Price Field
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.
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.
linked to #302 ... Average Price is a real pain and need s a redesign
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
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:

What else do you want to add?
Sorry, I am actually looking for the location of the source code for this and the remove-parts dialogue boxes.
This form is found here.