Open Spillygoose opened 1 week ago
@Spillygoose what version of InvenTree are you using? This seems to be working just as expected in latest master version:
@SchrodingersGat agh, forgot the basics. still on 1.6.1 Will have it updated soon and recheck.
Thank you
The price range calculation for a part assembled from other parts (i.e where the price range is gleaned from the bill of materials) is incorrect (could be a setting I am missing...)
The calculated range at the bottom of the bill of materials is correct, but elsewhere the maximum price is incorrect.
I believe this is because the bill of materials is comprised of some parts that have a minimum/maximum price set, and other parts where a minimum price only is set. Where this is the case it looks like the maximum price is calculated from the parts that have a maximum price set only, rather than using the minimum price for parts who have no max price set. Again the price range total at the end of the bill of materials is calculated correctly.
As per the image below, the correct price as shown on the BOM should be 1500 min to 2500 max, rather than 1500 to 2000 as shown in the price range.
And below where the second part now has a max price the calculation is correct in both areas.