Fixes #11028 - Enable clearing of the color field for front and rear ports in bulk edit
This commit is contained in:

committed by
Jeremy Stretch

parent
9e51a8d9d2
commit
3bd560add8
@@ -1218,7 +1218,7 @@ class FrontPortBulkEditForm(
|
|||||||
fieldsets = (
|
fieldsets = (
|
||||||
(None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')),
|
(None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')),
|
||||||
)
|
)
|
||||||
nullable_fields = ('module', 'label', 'description')
|
nullable_fields = ('module', 'label', 'description', 'color')
|
||||||
|
|
||||||
|
|
||||||
class RearPortBulkEditForm(
|
class RearPortBulkEditForm(
|
||||||
@@ -1229,7 +1229,7 @@ class RearPortBulkEditForm(
|
|||||||
fieldsets = (
|
fieldsets = (
|
||||||
(None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')),
|
(None, ('module', 'type', 'label', 'color', 'description', 'mark_connected')),
|
||||||
)
|
)
|
||||||
nullable_fields = ('module', 'label', 'description')
|
nullable_fields = ('module', 'label', 'description', 'color')
|
||||||
|
|
||||||
|
|
||||||
class ModuleBayBulkEditForm(
|
class ModuleBayBulkEditForm(
|
||||||
|
Reference in New Issue
Block a user