[PR #19477] [MERGED] Fixes #19464: Fix bulk editing of inventory items from device view #15655

Closed
opened 2025-12-30 00:23:14 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19477
Author: @jeremystretch
Created: 5/13/2025
Status: Merged
Merged: 5/13/2025
Merged by: @arthanson

Base: mainHead: 19464-inventory-item-bulk-edit


📝 Commits (1)

  • 8605692 Fixes #19464: Fix bulk editing of inventory items from device view

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 netbox/dcim/forms/bulk_edit.py (+7 -0)

📄 Description

Fixes: #19464

Remove the device initial data after instantiating the form to avoid flagging the actual device field as having changed data. (Ultimately we need to figure out a better way to pass contextual data under BulkEditView, but this suffices for now.)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/19477 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/13/2025 **Status:** ✅ Merged **Merged:** 5/13/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `19464-inventory-item-bulk-edit` --- ### 📝 Commits (1) - [`8605692`](https://github.com/netbox-community/netbox/commit/86056928b59893c32f6cd75435b902fcdb7fe7f7) Fixes #19464: Fix bulk editing of inventory items from device view ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/bulk_edit.py` (+7 -0) </details> ### 📄 Description ### Fixes: #19464 Remove the `device` initial data after instantiating the form to avoid flagging the actual `device` field as having changed data. (Ultimately we need to figure out a better way to pass contextual data under BulkEditView, but this suffices for now.) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:23:14 +01:00
adam closed this issue 2025-12-30 00:23:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15655