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

This commit is contained in:
Arthur 2023-07-06 12:45:11 +07:00 committed by Jeremy Stretch
parent 07ae7c8a6e
commit 4355ee6407

View File

@ -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(