mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 03:56:53 -06:00
12092 allow setnull for bulk edit power port maximum and allocated draw
This commit is contained in:
parent
07ae7c8a6e
commit
4355ee6407
@ -1106,7 +1106,7 @@ class PowerPortBulkEditForm(
|
|||||||
(None, ('module', 'type', 'label', 'description', 'mark_connected')),
|
(None, ('module', 'type', 'label', 'description', 'mark_connected')),
|
||||||
('Power', ('maximum_draw', 'allocated_draw')),
|
('Power', ('maximum_draw', 'allocated_draw')),
|
||||||
)
|
)
|
||||||
nullable_fields = ('module', 'label', 'description')
|
nullable_fields = ('module', 'label', 'description', 'maximum_draw', 'allocated_draw')
|
||||||
|
|
||||||
|
|
||||||
class PowerOutletBulkEditForm(
|
class PowerOutletBulkEditForm(
|
||||||
|
Loading…
Reference in New Issue
Block a user