Explorar el Código

12092 allow setnull for bulk edit power port maximum and allocated draw

Arthur hace 2 años
padre
commit
4355ee6407
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/dcim/forms/bulk_edit.py

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

@@ -1106,7 +1106,7 @@ class PowerPortBulkEditForm(
         (None, ('module', 'type', 'label', 'description', 'mark_connected')),
         ('Power', ('maximum_draw', 'allocated_draw')),
     )
-    nullable_fields = ('module', 'label', 'description')
+    nullable_fields = ('module', 'label', 'description', 'maximum_draw', 'allocated_draw')
 
 
 class PowerOutletBulkEditForm(