[PR #10926] [CLOSED] 8749 clone custom fields #13717

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10926
Author: @arthanson
Created: 11/15/2022
Status: Closed

Base: developHead: 8749-clone-custom-fields


📝 Commits (3)

  • abc0d8b 8749 add is_cloneable to custom fields
  • 8e5c240 8749 clone the data
  • 98ca5d8 Merge branch 'develop' into 8749-clone-custom-fields

📊 Changes

9 files changed (+46 additions, -5 deletions)

View changed files

📝 netbox/extras/api/serializers.py (+1 -1)
📝 netbox/extras/forms/bulk_edit.py (+4 -0)
📝 netbox/extras/forms/bulk_import.py (+1 -1)
📝 netbox/extras/forms/models.py (+1 -1)
netbox/extras/migrations/0078_customfield_is_cloneable.py (+18 -0)
📝 netbox/extras/models/customfields.py (+6 -1)
📝 netbox/extras/tables/tables.py (+2 -1)
📝 netbox/netbox/models/features.py (+9 -0)
📝 netbox/templates/extras/customfield.html (+4 -0)

📄 Description

Fixes: #8749

Allows to flag custom fields to be cloneable, these will be copied over when objects linked to the custom fields are cloned.


🔄 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/10926 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 11/15/2022 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `8749-clone-custom-fields` --- ### 📝 Commits (3) - [`abc0d8b`](https://github.com/netbox-community/netbox/commit/abc0d8b1d561ea86db7483c1d2052d7d0c6bbc56) 8749 add is_cloneable to custom fields - [`8e5c240`](https://github.com/netbox-community/netbox/commit/8e5c240765940da2691d0df370c4b579eb96fe44) 8749 clone the data - [`98ca5d8`](https://github.com/netbox-community/netbox/commit/98ca5d8092f8739dec1689309b15f5f627eb1587) Merge branch 'develop' into 8749-clone-custom-fields ### 📊 Changes **9 files changed** (+46 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/serializers.py` (+1 -1) 📝 `netbox/extras/forms/bulk_edit.py` (+4 -0) 📝 `netbox/extras/forms/bulk_import.py` (+1 -1) 📝 `netbox/extras/forms/models.py` (+1 -1) ➕ `netbox/extras/migrations/0078_customfield_is_cloneable.py` (+18 -0) 📝 `netbox/extras/models/customfields.py` (+6 -1) 📝 `netbox/extras/tables/tables.py` (+2 -1) 📝 `netbox/netbox/models/features.py` (+9 -0) 📝 `netbox/templates/extras/customfield.html` (+4 -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 approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #8749 <!-- Please include a summary of the proposed changes below. --> Allows to flag custom fields to be cloneable, these will be copied over when objects linked to the custom fields are cloned. --- <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:20:25 +01:00
adam closed this issue 2025-12-29 23:20:25 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13717