diff --git a/add_tenant_with_prefix.py b/add_tenant_with_prefix.py index 5d4b14b..3ecaad8 100644 --- a/add_tenant_with_prefix.py +++ b/add_tenant_with_prefix.py @@ -167,7 +167,7 @@ class CreateTenant(Script): tenant = Tenant(**tenant_data) tenant.custom_field_data["dogovor"] = data["tenant_contract"] - tenant.custom_field_data["connection_type"] = data["tenant_connection_type"] + tenant.custom_field_data["connection_type_tenant"] = data["tenant_connection_type"] tenant.custom_field_data["link_on_docs"] = data["tenant_tr"] tenant.full_clean() if commit: