How metrixast/tcp-bpm works
TCP-BPM is a Django business-process portal organized around accounts and domain apps for documents, finance, HR, procurement, tenants, reporting, and related operations. A principal documented runtime flow is document handling: users browse and filter available documents, inspect a document’s actions, create or edit it, and submit an action that updates its status. The repository also contains a 1C integration and asynchronous push notifications. The README provides no capability detail, and most app implementations were not sampled; those areas are represented at app level, with uncertain connections omitted.
Main entry points: services.py Document services · tasks.py Push task · legacy_client.py Legacy 1C sync · views.py Account views
Components 24
Accounts and access
- Account views
backend/apps/account/views.py - Account records
backend/apps/account/models.py - Role permissions
backend/apps/account/role_permissions.py
Document workflow
- Document services
backend/apps/documents/services.py - Document records
backend/apps/documents/models.py - Document forms
backend/apps/documents/forms.py - Document types and statuses
backend/apps/documents/enums.py
Business operations
- Purchases
backend/apps/purchases/views.py - Requisitions
backend/apps/requistions/views.py - Finance
backend/apps/finances/views.py - Human resources
backend/apps/hr/views.py - Tenants
backend/apps/tenants/views.py - Ecopark
backend/apps/ecopark/views.py - Additional records
backend/apps/addits/views.py - Task management
backend/apps/tasks/views.py
Integrations and alerts
- Push task
backend/apps/account/tasks.py - 1C API client
backend/apps/onec/client_1c/client.py - Legacy 1C sync
backend/apps/onec/legacy_client.py - 1C data records
backend/apps/onec/models.py
Dashboards and reports
Other components
- Portal user
- Firebase Cloud Messaging
- 1C service
Connections 12
- Portal user → Account views: uses account
- Account views → Account records: reads and writes
- Portal user → Document services: browses and submits
- Document services → Document records: queries and saves
- Document services → Document forms: validates input
- Document services → Document types and statuses: checks type and status
- Document services → Role permissions: checks access
- Push task → Account records: reads and creates
- Push task → Firebase Cloud Messaging: sends push
- 1C API client → 1C service: requests data
- Legacy 1C sync → 1C service: fetches records
- Legacy 1C sync → 1C data records: updates remnants