From fedcbaf4c883aa7bc9ac51618ed55af30df14209 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 28 Dec 2023 10:06:25 -0500 Subject: [PATCH] Fixes #14620: Permit setting device type U height to 0 during bulk edit --- netbox/dcim/forms/bulk_edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/forms/bulk_edit.py b/netbox/dcim/forms/bulk_edit.py index cacf1f72b..9209d8ef4 100644 --- a/netbox/dcim/forms/bulk_edit.py +++ b/netbox/dcim/forms/bulk_edit.py @@ -412,7 +412,7 @@ class DeviceTypeBulkEditForm(NetBoxModelBulkEditForm): ) u_height = forms.IntegerField( label=_('U height'), - min_value=1, + min_value=0, required=False ) is_full_depth = forms.NullBooleanField(