InvenTree/InvenTree
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
..
InvenTree Custom splash screen (#3499) 2022-08-09 09:42:53 +10:00
build Check for (and reduce) overallocated stock when editing build orders. (#3237) 2022-08-10 21:37:29 +10:00
common Fix: Treegrid is loading an eternity for huge amounts of data (#3451) 2022-08-05 08:07:12 +10:00
company Allow SupplierPart list to be filtered by SKU (#3417) 2022-07-27 13:02:13 +10:00
label Switch to pathlib (#3392) 2022-07-27 10:42:34 +10:00
locale New Crowdin updates (#3493) 2022-08-08 23:34:22 +10:00
order Fix translated string (#3466) 2022-08-04 10:19:53 +10:00
part Custom splash screen (#3499) 2022-08-09 09:42:53 +10:00
plugin update trnaslation function name to new default (#3497) 2022-08-08 07:50:36 +10:00
plugins
report Switch to pathlib (#3392) 2022-07-27 10:42:34 +10:00
script
stock Url field fix (#3488) 2022-08-07 22:46:33 +10:00
templates Custom splash screen (#3499) 2022-08-09 09:42:53 +10:00
users Fix API endpoint permission for the "AttachmentMixin" class (#3218) 2022-06-18 14:48:09 +10:00
config_template.yaml Custom splash screen (#3499) 2022-08-09 09:42:53 +10:00
gunicorn.conf.py
manage.py