[PR #15759] [MERGED] 15541 Add component selector to InventoryItemTemplate #14668

Closed
opened 2025-12-29 23:25:51 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15759
Author: @arthanson
Created: 4/17/2024
Status: Merged
Merged: 4/22/2024
Merged by: @jeremystretch

Base: developHead: 15541-inventoryitemtemplate-2


📝 Commits (2)

  • a422e79 15541 make inventoryitemtemplateform match inventoryitemform
  • 9358377 15541 set tab active

📊 Changes

3 files changed (+203 additions, -8 deletions)

View changed files

📝 netbox/dcim/forms/model_forms.py (+97 -8)
📝 netbox/dcim/views.py (+2 -0)
netbox/templates/dcim/inventoryitemtemplate_edit.html (+104 -0)

📄 Description

Fixes: #15541

Backports NB4 PR to NB3. - Adds component assignment to InventoryItemTemplateForm to match InventoryItemForm.

Note: Will cause a merge conflict with NB4 - netbox/templates/dcim/inventoryitemtemplate_edit.html should also be removed in NB 4.

Monosnap Editing inventory item template inv1 | NetBox 2024-04-17 09-35-03


🔄 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/15759 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 4/17/2024 **Status:** ✅ Merged **Merged:** 4/22/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15541-inventoryitemtemplate-2` --- ### 📝 Commits (2) - [`a422e79`](https://github.com/netbox-community/netbox/commit/a422e79214dcc1fc945026c13b5feef5d278aa79) 15541 make inventoryitemtemplateform match inventoryitemform - [`9358377`](https://github.com/netbox-community/netbox/commit/9358377b3fbf1aee496f3d496dde2b3ff2b28ba0) 15541 set tab active ### 📊 Changes **3 files changed** (+203 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/model_forms.py` (+97 -8) 📝 `netbox/dcim/views.py` (+2 -0) ➕ `netbox/templates/dcim/inventoryitemtemplate_edit.html` (+104 -0) </details> ### 📄 Description ### Fixes: #15541 Backports NB4 PR to NB3. - Adds component assignment to InventoryItemTemplateForm to match InventoryItemForm. Note: Will cause a merge conflict with NB4 - netbox/templates/dcim/inventoryitemtemplate_edit.html should also be removed in NB 4. ![Monosnap Editing inventory item template inv1 | NetBox 2024-04-17 09-35-03](https://github.com/netbox-community/netbox/assets/99642/1d648e04-b384-4829-8947-161ee266a5d1) --- <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-29 23:25:51 +01:00
adam closed this issue 2025-12-29 23:25:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14668