mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-18 11:22:25 -06:00
Fixes #4079: Fix assignment of power panel when bulk editing power feeds
This commit is contained in:
@@ -4371,7 +4371,7 @@ class PowerFeedBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldBulkEd
|
||||
queryset=PowerFeed.objects.all(),
|
||||
widget=forms.MultipleHiddenInput
|
||||
)
|
||||
powerpanel = forms.ModelChoiceField(
|
||||
power_panel = forms.ModelChoiceField(
|
||||
queryset=PowerPanel.objects.all(),
|
||||
required=False,
|
||||
widget=APISelect(
|
||||
|
||||
@@ -1331,9 +1331,6 @@ class PowerPanelTestCase(StandardTestCases.Views):
|
||||
class PowerFeedTestCase(StandardTestCases.Views):
|
||||
model = PowerFeed
|
||||
|
||||
# TODO: Re-enable this test once #4079 is fixed
|
||||
test_bulk_edit_objects = None
|
||||
|
||||
@classmethod
|
||||
def setUpTestData(cls):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user