Преглед изворни кода

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

Arthur пре 2 година
родитељ
комит
4355ee6407
1 измењених фајлова са 1 додато и 1 уклоњено
  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(