When creating a build order (or even a sales order), some parts of the BoM can be out of stock, and therefore need to be purchased. Then the purchase orders need to be created for each supplier, by checking, part after part, which parts are missing and need to be ordered.
A first idea would be to add a filter to the supplied parts of suppliers showing parts where more stock is required than there are in stock. Then only checking all filtered rows and clicking the "Order parts" would be almost enough. Adding a button for purchasing all would be a nice-to-have on this menu, and would completely tackle the issue. That way we can just go from supplier to supplier, and create the purchase orders supplier by supplier.
A very nice addition to this system would be to add a button "purchase missing parts" with a few parameters (fewest suppliers, lowest price...), which would then create purchase orders for each suppliers.
Currently, we consider creating Python scripts using the API of Inventree to automatically create the purchase orders.
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too