[PR #3955] [MERGED] Fixes: #3950 "Create and Add Another" does retain device type #12707

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3955
Author: @kobayashi
Created: 1/18/2020
Status: Merged
Merged: 1/24/2020
Merged by: @jeremystretch

Base: developHead: 3950-not-retain-device-type


📝 Commits (3)

  • 9694bac 3950 not retain device type
  • 66d5cc4 Fixes #3950: Cloned Device Form does not retain device type
  • 0ec091f Merge branch 'develop' into 3950-not-retain-device-type

📊 Changes

5 files changed (+252 additions, -1 deletions)

View changed files

📝 docs/release-notes/version-2.7.md (+1 -0)
📝 netbox/dcim/fixtures/dcim.json (+58 -0)
📝 netbox/dcim/forms.py (+10 -0)
📝 netbox/dcim/tests/test_forms.py (+13 -1)
netbox/virtualization/fixtures/virtualization.json (+170 -0)

📄 Description

Fixes: #3950 "Create and Add Another" does retain device type

Add lines to retrieve manufacture pk while device_type is provided.


🔄 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/3955 **Author:** [@kobayashi](https://github.com/kobayashi) **Created:** 1/18/2020 **Status:** ✅ Merged **Merged:** 1/24/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `3950-not-retain-device-type` --- ### 📝 Commits (3) - [`9694bac`](https://github.com/netbox-community/netbox/commit/9694bacb69c82c5ed543754f436f2e09c4be890c) 3950 not retain device type - [`66d5cc4`](https://github.com/netbox-community/netbox/commit/66d5cc47a5c17387f805968f361ec28cfc6c0cfc) Fixes #3950: Cloned Device Form does not retain device type - [`0ec091f`](https://github.com/netbox-community/netbox/commit/0ec091ffe1122b70ed3fda93b5d82619a1507a4e) Merge branch 'develop' into 3950-not-retain-device-type ### 📊 Changes **5 files changed** (+252 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.7.md` (+1 -0) 📝 `netbox/dcim/fixtures/dcim.json` (+58 -0) 📝 `netbox/dcim/forms.py` (+10 -0) 📝 `netbox/dcim/tests/test_forms.py` (+13 -1) ➕ `netbox/virtualization/fixtures/virtualization.json` (+170 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #3950 "Create and Add Another" does retain device type <!-- Please include a summary of the proposed changes below. --> Add lines to retrieve manufacture pk while `device_type` is provided. --- <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 22:23:11 +01:00
adam closed this issue 2025-12-29 22:23:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12707