2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00
Files
InvenTree/InvenTree/build
Matt Brown 139e059a45 Check for (and reduce) overallocated stock when editing build orders. (#3237)
* Check for (and reduce) overallocated stock when editing build orders.

After a build order is edited, check whether any bom items are now
overallocated to the build, and if they are find appropriate build items to
reduce the quantity of or remove from the build.

Fixes: #3236

* Only trim overallocated stock if requested

Turns the complete with overallocated stock option into a choice, so the
user can reject (default), continue (existing option in the bool), or
now additionally instead choose to have the overallocated stock removed
before the build is completed.

* fix style errors

* Another style fix.

* Add tests for overallocation handling API logic

* Capitalize overallocation options.
2022-08-10 21:37:29 +10:00
..
2022-07-11 00:01:46 +10:00
2022-07-15 11:57:27 +10:00
2022-06-28 22:12:00 +10:00
2022-06-02 01:37:39 +10:00
2022-06-06 19:12:29 +10:00
2022-07-11 00:01:46 +10:00
2022-07-11 00:01:46 +10:00
2022-07-11 00:01:46 +10:00