mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 11:10:54 +00:00
Add option to disable the build output completion if are tests not passed (#6057)
* Add option to disable the build output completion if required tests not passed Fixes #5037 * Fix review comments * Added tests * Add settinsg option to PUI * Utilize F" string concatenation * Add validation to serializer too to being able to generate proper error message in the case if multiple outputs having incomplete tests * Fix other build tests failing because of the new stock items * Remove len from array empty check * Update serializers.py * Update models.py Simplify error message * Update settings.py Formatting fix * Update models.py More style fixes * Update models.py Remove empty line --------- Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
<table class='table table-striped table-condensed'>
|
||||
<tbody>
|
||||
{% include "InvenTree/settings/setting.html" with key="BUILDORDER_REFERENCE_PATTERN" %}
|
||||
{% include "InvenTree/settings/setting.html" with key="PREVENT_BUILD_COMPLETION_HAVING_INCOMPLETED_TESTS" %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
Reference in New Issue
Block a user