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:
Agent Zero
2026-07-19 21:12:49 +02:00
parent d80feb2a3a
commit cf75680583
14 changed files with 1411 additions and 869 deletions
+1 -1
View File
@@ -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)