Update add_tenant_with_prefix.py

This commit is contained in:
2025-10-01 17:03:14 +03:00
parent 109e644dad
commit b416d9d530

View File

@@ -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: