do not show internal address default

This commit is contained in:
Oliver Zander 2025-10-14 11:16:13 +02:00
parent 01267e6939
commit 84ef809705
1 changed files with 5 additions and 0 deletions

View File

@ -299,3 +299,8 @@ class ListForm(BaseApplicationForm, CommonOrderMixin):
model = List
fields = ['domain', 'address', 'terms_accepted']
exclude = ['intern_notes', 'survey_mail_send','mail_state']
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields['address'].initial = ''