feat(dcim): Add enabled field to Module and Device bays

Add an `enabled` boolean field to ModuleBay, ModuleBayTemplate,
DeviceBay, and DeviceBayTemplate models. Disabled bays prevent component
installation and display accordingly in the UI. Update serializers,
filters, forms, and tables to support the new field.

Fixes #20152
This commit is contained in:
Martin Hauser
2026-03-11 20:51:23 +01:00
parent 02165a28a0
commit 625c4eb5bb
21 changed files with 423 additions and 88 deletions

View File

@@ -23,3 +23,8 @@ The device bay's name. Must be unique to the parent device.
### Label
An alternative physical label identifying the device bay.
### Enabled
Whether this device bay is enabled. Disabled device bays are not available for installation.