2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

[Build] Add extra validation options (#7560)

* Add new setting: BUILDORDER_REQUIRE_VALID_BOM

- Prevent build orders from being created if the assembly BOM has not been validated

* Add validation check when creating a build order

* Add unit tests
This commit is contained in:
Oliver
2024-07-05 12:46:34 +10:00
committed by GitHub
parent 720651602b
commit 13dbfd0b14
5 changed files with 94 additions and 0 deletions

View File

@ -245,6 +245,8 @@ export default function SystemSettings() {
keys={[
'BUILDORDER_REFERENCE_PATTERN',
'BUILDORDER_REQUIRE_RESPONSIBLE',
'BUILDORDER_REQUIRE_ACTIVE_PART',
'BUILDORDER_REQUIRE_VALID_BOM',
'PREVENT_BUILD_COMPLETION_HAVING_INCOMPLETED_TESTS'
]}
/>