Unified contacts model: Rentman-style type field (company/person), inline addresses, ContactPerson 1:N, all Rentman fields except rental-specific
This commit is contained in:
@@ -128,7 +128,7 @@ async def deep_analysis(
|
||||
extended_context["contact"] = _serialize_row(contact) if contact else None
|
||||
|
||||
elif entity_type == "company":
|
||||
from app.models.company import Company, CompanyContact
|
||||
from app.models.contact import Contact as Company
|
||||
|
||||
comp_result = await db.execute(
|
||||
select(Company)
|
||||
|
||||
Reference in New Issue
Block a user