[PR #18901] [MERGED] Fixes #18872: JournalEntry kind is a required field #15469

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18901
Author: @jeremystretch
Created: 3/13/2025
Status: Merged
Merged: 3/19/2025
Merged by: @bctiemann

Base: mainHead: 18872-JournalEntry-kind-required


📝 Commits (1)

📊 Changes

2 files changed (+27 additions, -3 deletions)

View changed files

📝 netbox/extras/forms/model_forms.py (+2 -3)
netbox/extras/migrations/0123_journalentry_kind_default.py (+25 -0)

📄 Description

Fixes: #18872

  • Mark kind as a required field on JournalEntryForm
  • Include a migration to update any journal entries with no kind assigned to "info"

🔄 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/18901 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/19/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `18872-JournalEntry-kind-required` --- ### 📝 Commits (1) - [`994e7eb`](https://github.com/netbox-community/netbox/commit/994e7eb9f4583d5cbcb73dcbb0d6211c4ac05f0d) Fixes #18872: JournalEntry kind is a required field ### 📊 Changes **2 files changed** (+27 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/forms/model_forms.py` (+2 -3) ➕ `netbox/extras/migrations/0123_journalentry_kind_default.py` (+25 -0) </details> ### 📄 Description ### Fixes: #18872 - Mark `kind` as a required field on JournalEntryForm - Include a migration to update any journal entries with no kind assigned to "info" --- <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:22:07 +01:00
adam closed this issue 2025-12-30 00:22:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15469