Sfoglia il codice sorgente

Closes #10133: Enable nullifying device location during bulk edit

jeremystretch 3 anni fa
parent
commit
c2c8bd0a76
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1 0
      docs/release-notes/version-3.3.md
  2. 1 1
      netbox/dcim/forms/bulk_edit.py

+ 1 - 0
docs/release-notes/version-3.3.md

@@ -9,6 +9,7 @@
 * [#10037](https://github.com/netbox-community/netbox/issues/10037) - Add link to create child interface to interface context menu
 * [#10061](https://github.com/netbox-community/netbox/issues/10061) - Replicate type when cloning L2VPN instances
 * [#10066](https://github.com/netbox-community/netbox/issues/10066) - Use fixed column widths for custom field values in UI
+* [#10133](https://github.com/netbox-community/netbox/issues/10133) - Enable nullifying device location during bulk edit
 
 ### Bug Fixes
 

+ 1 - 1
netbox/dcim/forms/bulk_edit.py

@@ -480,7 +480,7 @@ class DeviceBulkEditForm(NetBoxModelBulkEditForm):
         ('Hardware', ('manufacturer', 'device_type', 'airflow', 'serial')),
     )
     nullable_fields = (
-        'tenant', 'platform', 'serial', 'airflow',
+        'location', 'tenant', 'platform', 'serial', 'airflow',
     )