Update add_tenant_with_prefix.py
This commit is contained in:
@@ -167,7 +167,7 @@ class CreateTenant(Script):
|
|||||||
|
|
||||||
tenant = Tenant(**tenant_data)
|
tenant = Tenant(**tenant_data)
|
||||||
tenant.custom_field_data["dogovor"] = data["tenant_contract"]
|
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.custom_field_data["link_on_docs"] = data["tenant_tr"]
|
||||||
tenant.full_clean()
|
tenant.full_clean()
|
||||||
if commit:
|
if commit:
|
||||||
|
|||||||
Reference in New Issue
Block a user