Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9654 device weight #10448

Merged
merged 24 commits into from
Sep 30, 2022
Merged

9654 device weight #10448

merged 24 commits into from
Sep 30, 2022

Conversation

arthanson
Copy link
Collaborator

Fixes: #9654

Adds device weight to DeviceType, ModuleType and Rack. Adds edit fields on edit forms, shows total weight on rack detail.

Monosnap Add a new device type | NetBox 2022-09-23 10-47-46
Monosnap Rack R201 | NetBox 2022-09-23 10-47-20

@jeremystretch jeremystretch added the beta Concerns a bug/feature in a beta release label Sep 26, 2022
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @arthanson, thank you! Some minor cleanup suggestions and a question or two, but overall this is excellent.

Also, it looks like pyproject.toml got swept up in the PR by accident.

netbox/dcim/choices.py Outdated Show resolved Hide resolved
netbox/dcim/models/mixins.py Outdated Show resolved Hide resolved
netbox/utilities/utils.py Outdated Show resolved Hide resolved
netbox/utilities/utils.py Outdated Show resolved Hide resolved
netbox/dcim/models/mixins.py Outdated Show resolved Hide resolved
netbox/dcim/forms/bulk_edit.py Outdated Show resolved Hide resolved
netbox/dcim/forms/bulk_edit.py Outdated Show resolved Hide resolved
netbox/dcim/forms/filtersets.py Outdated Show resolved Hide resolved
netbox/dcim/forms/filtersets.py Outdated Show resolved Hide resolved
netbox/dcim/forms/filtersets.py Outdated Show resolved Hide resolved
@arthanson
Copy link
Collaborator Author

@jeremystretch should hopefully be ready now.

@jeremystretch jeremystretch merged commit 204c10c into feature Sep 30, 2022
@jeremystretch jeremystretch deleted the 9654-device-weight branch September 30, 2022 20:31
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants