From 069985c3ef5986ec7e803f8e8f07c04cafbac0aa Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Wed, 18 Mar 2026 18:39:55 +0100 Subject: [PATCH] fix(circuits): Add ProviderAccount fieldsets Swap 'account' and 'name' field order in ProviderAccountForm Meta.fields to match the newly added fieldsets definition. Ensures consistent field ordering between the fieldsets declaration and Meta configuration. Fixes #21707 --- netbox/circuits/forms/model_forms.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/netbox/circuits/forms/model_forms.py b/netbox/circuits/forms/model_forms.py index 63f6a4364..5a48455d8 100644 --- a/netbox/circuits/forms/model_forms.py +++ b/netbox/circuits/forms/model_forms.py @@ -68,10 +68,14 @@ class ProviderAccountForm(PrimaryModelForm): quick_add=True ) + fieldsets = ( + FieldSet('provider', 'account', 'name', 'description', 'tags'), + ) + class Meta: model = ProviderAccount fields = [ - 'provider', 'name', 'account', 'description', 'owner', 'comments', 'tags', + 'provider', 'account', 'name', 'description', 'owner', 'comments', 'tags', ]