diff --git a/add_tenant_with_prefix.py b/add_tenant_with_prefix.py index 73124f6..5d4b14b 100644 --- a/add_tenant_with_prefix.py +++ b/add_tenant_with_prefix.py @@ -108,7 +108,7 @@ class CreateTenant(Script): ("Контакты", ("contacts_fio", "contacts_phone", "contacts_email")), ) - connection_types = CustomField.objects.get(name="connection_type") + connection_types = CustomField.objects.get(name="connection_type_tenant") tenant_name = StringVar(label="Имя оператора") tenant_group = ObjectVar(