inventree / InvenTree

Open Source Inventory Management System
https://docs.inventree.org
MIT License
4.12k stars 739 forks source link

[FR] Generating purchase orders #6146

Open JambonLeVrai opened 8 months ago

JambonLeVrai commented 8 months ago

Please verify that this feature request has NOT been suggested before.

Problem statement

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.

Suggested solution

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.

Describe alternatives you've considered

Currently, we consider creating Python scripts using the API of Inventree to automatically create the purchase orders.

Examples of other systems

No response

Do you want to develop this?

SchrodingersGat commented 8 months ago

This sounds like a good candidate for the new react interface

github-actions[bot] commented 6 months ago

This issue seems stale. Please react to show this is still important.

github-actions[bot] commented 4 months ago

This issue seems stale. Please react to show this is still important.

matmair commented 4 months ago

Would still be intresting