How ma7amdm2m/main-hr works
Horilla is a Django-based HRMS spanning workforce administration, attendance, leave, payroll, recruitment, employee lifecycle, assets, and HR support. The principal user workflow is to use the web application to manage HR records and operational processes, then review their resulting records and dashboards; the README documents these capabilities but not a single end-to-end route. The graph preserves the major product areas and shared framework. Evidence is limited to the README, file tree, and supplied source-index references and excerpts; several domain implementations and their runtime wiring were not sampled.
Main entry points: recruitment/models.py Recruitment · base/models.py Shared HR records · cbv_methods.py View methods · employee/models.py Employee records
Components 27
Web and shared core
- Web entry
horilla/urls.py - Generic views
horilla_views/generic/cbv/views.py - View methods
horilla_views/cbv_methods.py - Kanban views
horilla_views/generic/cbv/kanban.py - View state
horilla_views/models.py - Shared HR records
base/models.py - Shared HR methods
base/methods.py
Workforce operations
- Employee records
employee/models.py - Attendance tracking
attendance/models.py - Leave management
leave/models.py - Payroll
payroll/models/models.py - Asset management
asset/models.py
Employee lifecycle
- Recruitment
recruitment/models.py - Onboarding
onboarding/models.py - Offboarding
offboarding/models.py
HR services
- HR helpdesk
helpdesk/models.py - Audit trail
horilla_audit/models.py - API access
horilla_api/urls.py
Integrations and controls
- Biometric devices
biometric/views.py - Geofencing
geofencing/views.py - LDAP integration
horilla_ldap/views.py - Request context
horilla/horilla_middlewares.py - Application configuration
horilla/config.py - Safe responses
horilla/http/response.py - Shared platform models
horilla/models.py - Platform methods
horilla/methods.py
Other components
- HR user
Connections 20
- HR user → Web entry: uses
README.md - Web entry → API access: routes API
- Web entry → Generic views: routes views
horilla_views/generic/cbv/views.py - Generic views → View methods: uses methods
horilla_views/generic/cbv/views.py - Generic views → View state: reads view state
horilla_views/generic/cbv/views.py - Kanban views → View methods: uses methods
horilla_views/generic/cbv/kanban.py - View methods → Shared HR methods: uses methods
horilla_views/cbv_methods.py - View methods → Employee records: queries employees
horilla_views/cbv_methods.py - View state → Shared platform models: references models
horilla_views/models.py - Shared HR records → Employee records: references employees
base/models.py - Shared HR records → Shared platform models: references models
base/models.py - Shared HR records → Audit trail: references audit
base/models.py - Recruitment → Shared HR records: references HR records
recruitment/models.py - Recruitment → Employee records: references employees
recruitment/models.py - Recruitment → Audit trail: references audit
recruitment/models.py - Recruitment → Onboarding: references onboarding
recruitment/models.py - Request context → Safe responses: uses responses
horilla/horilla_middlewares.py - Biometric devices → Attendance tracking: supports tracking
- Geofencing → Attendance tracking: supports tracking
- LDAP integration → Employee records: integrates workforce