From 3bd560add8cf9dc9d9304c7ce995556c205987c3 Mon Sep 17 00:00:00 2001 From: Patrick Hurrelmann Date: Wed, 30 Nov 2022 13:39:22 +0100 Subject: [PATCH] Fixes #11028 - Enable clearing of the color field for front and rear ports in bulk edit --- netbox/dcim/forms/bulk_edit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/dcim/forms/bulk_edit.py b/netbox/dcim/forms/bulk_edit.py index 396f7e59b..db2d3ca2a 100644 --- a/netbox/dcim/forms/bulk_edit.py +++ b/netbox/dcim/forms/bulk_edit.py @@ -1218,7 +1218,7 @@ class FrontPortBulkEditForm( fieldsets = ( (None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')), ) - nullable_fields = ('module', 'label', 'description') + nullable_fields = ('module', 'label', 'description', 'color') class RearPortBulkEditForm( @@ -1229,7 +1229,7 @@ class RearPortBulkEditForm( fieldsets = ( (None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')), ) - nullable_fields = ('module', 'label', 'description') + nullable_fields = ('module', 'label', 'description', 'color') class ModuleBayBulkEditForm(