2
0
Эх сурвалжийг харах

Fixes #4089: Selection of power outlet type during bulk update is optional

Jeremy Stretch 6 жил өмнө
parent
commit
d0295f089d

+ 6 - 0
docs/release-notes/version-2.7.md

@@ -1,3 +1,9 @@
+# v2.7.5 (FUTURE)
+
+## Bug Fixes
+
+* [#4089](https://github.com/netbox-community/netbox/issues/4089) - Selection of power outlet type during bulk update is optional
+
 # v2.7.4 (2020-02-04)
 # v2.7.4 (2020-02-04)
 
 
 ## Enhancements
 ## Enhancements

+ 1 - 1
netbox/dcim/forms.py

@@ -2500,7 +2500,7 @@ class PowerOutletBulkEditForm(BootstrapMixin, AddRemoveTagsForm, BulkEditForm):
         widget=forms.MultipleHiddenInput()
         widget=forms.MultipleHiddenInput()
     )
     )
     type = forms.ChoiceField(
     type = forms.ChoiceField(
-        choices=PowerOutletTypeChoices,
+        choices=add_blank_choice(PowerOutletTypeChoices),
         required=False
         required=False
     )
     )
     feed_leg = forms.ChoiceField(
     feed_leg = forms.ChoiceField(