Phase 1C: Frontend unified contact UI

This commit is contained in:
Agent Zero
2026-07-23 17:17:32 +02:00
parent a8331fbc2b
commit 879106c4eb
62 changed files with 552 additions and 1276 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ from app.core.db import Base, TenantMixin
class Address(Base, TenantMixin):
"""Polymorphic address entity — multiple addresses per company or contact.
"""Polymorphic address entity — multiple addresses per contact.
entity_type: 'company' or 'contact'
entity_type: 'contact'
entity_id: FK to companies.id or contacts.id
address_type: billing, shipping, headquarters, branch, private, other
is_default: one default address per (entity_type, entity_id, address_type)