# pranishlama/intern-team-projects architecture

> Architecture diagram of the GitHub repository pranishlama/intern-team-projects, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pranishlama/intern-team-projects
- Repository: https://github.com/pranishlama/intern-team-projects

## Overview

This is an Odoo strategic-management add-on for setting business goals, measuring KPIs from operational records, and coordinating branch and employee work. The principal flow is goal setup through KPI/source measurement to monitoring and dashboards; parallel workflows cover task execution, staffing, reporting, administration, and KPI/OKR requests. The sampled files show some UI-to-server calls and source-adapter imports; other major capabilities are retained from the file tree and navigation constants without asserting unshown call paths.

Main entry points: [`profit.co/strategic_management/models/goal_setup.py`](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/goal_setup.py) (Goal setup), [`profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js`](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js) (Strategic navigation), [`profit.co/strategic_management/services/kpi_sources/common.py`](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/common.py) (Source validation), [`profit.co/strategic_management/models/goal_setup_monitoring.py`](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/goal_setup_monitoring.py) (Goal monitoring)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_planning["Goals and KPIs"]
  node_goal_setup["Goal setup<br/>[goal_setup.py]"]
  node_goal_monitor["Goal monitoring"]
  node_templates["Goal templates<br/>[goal_templates.py]"]
  node_kpi["KPI definitions<br/>[kpi.py]"]
  node_adapter["KPI source adapter"]
  node_work_requests["KPI and OKR requests"]
end

subgraph group_sources["Operational measurement"]
  node_accounting["Accounting measures<br/>[accounting.py]"]
  node_inventory["Inventory measures<br/>[inventory.py]"]
  node_pos["POS measures<br/>[pos.py]"]
  node_purchase["Purchase measures<br/>[purchase.py]"]
  node_purchase_goals["Purchase goal measures<br/>[purchase_goals.py]"]
  node_supplier_delivery["Supplier delivery measures"]
  node_source_common["Source validation<br/>[common.py]"]
end

subgraph group_operations["People and operations"]
  node_business_reports["Business reporting<br/>[company_report.py]"]
  node_branch_ops["Branch operations"]
  node_branch_tasks["Branch tasks<br/>[branch_task.py]"]
  node_staffing["Staffing and access<br/>[staffing.py]"]
  node_business_overview["Business overview"]
end

subgraph group_experience["Navigation and insight"]
  node_shell["Strategic navigation"]
  node_goals_ui["Business goals UI<br/>[business_goals.js]"]
  node_tasks_ui["Task workspace<br/>[tasks.js]"]
  node_people_ui["Employee management<br/>[employees.js]"]
  node_requests_ui["Request review UI<br/>[kpi_requests.js]"]
  node_admin_ui["Admin console<br/>[admin.js]"]
  node_dashboards["KPI dashboards"]
end

node_user(("Staff and managers"))

node_user -->|"opens"| node_shell
node_shell -.->|"hosts"| node_goals_ui
node_shell -->|"hosts"| node_tasks_ui
node_shell -->|"hosts"| node_people_ui
node_shell -->|"hosts"| node_requests_ui
node_shell -->|"hosts"| node_admin_ui
node_shell -.->|"shows"| node_dashboards
node_goals_ui -.->|"manages"| node_goal_setup
node_goal_setup -->|"uses"| node_templates
node_goal_setup -->|"reuses"| node_kpi
node_goal_setup -->|"evaluates through"| node_adapter
node_goal_setup -->|"collects from"| node_accounting
node_goal_setup -->|"collects from"| node_inventory
node_goal_setup -->|"collects from"| node_purchase
node_goal_setup -->|"collects from"| node_purchase_goals
node_goal_monitor -->|"extends"| node_goal_setup
node_goal_monitor -->|"reads measures"| node_inventory
node_goal_monitor -->|"reads measures"| node_pos
node_goal_monitor -->|"reads measures"| node_purchase_goals
node_goal_monitor -->|"reads measures"| node_supplier_delivery
node_kpi -->|"uses"| node_source_common
node_adapter -->|"loads"| node_source_common
node_accounting -->|"uses"| node_source_common
node_inventory -->|"uses"| node_source_common
node_inventory -->|"reuses"| node_pos
node_pos -->|"uses"| node_source_common
node_purchase -->|"uses"| node_source_common
node_purchase -->|"supports"| node_purchase_goals
node_purchase_goals -->|"uses"| node_source_common
node_supplier_delivery -->|"uses"| node_source_common
node_supplier_delivery -->|"uses"| node_purchase_goals
node_tasks_ui -->|"calls"| node_branch_tasks
node_people_ui -.->|"manages"| node_staffing
node_requests_ui -->|"calls"| node_work_requests
node_dashboards -.->|"displays"| node_business_reports
node_dashboards -.->|"displays"| node_branch_ops
node_shell -.->|"loads"| node_business_overview

click node_shell "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js"
click node_goals_ui "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/business_goals/business_goals.js"
click node_goal_setup "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/goal_setup.py"
click node_goal_monitor "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/goal_setup_monitoring.py"
click node_templates "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/goal_templates.py"
click node_kpi "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/kpi.py"
click node_adapter "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/kpi_source_adapter.py"
click node_work_requests "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/kpi_work_request.py"
click node_accounting "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/accounting.py"
click node_inventory "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/inventory.py"
click node_pos "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/pos.py"
click node_purchase "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/purchase.py"
click node_purchase_goals "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/purchase_goals.py"
click node_supplier_delivery "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/supplier_delivery.py"
click node_source_common "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/common.py"
click node_tasks_ui "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/pages/tasks/tasks.js"
click node_people_ui "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/pages/employees/employees.js"
click node_requests_ui "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/pages/kpi_requests/kpi_requests.js"
click node_admin_ui "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/pages/admin/admin.js"
click node_dashboards "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/kpi_dashboards/dashboard_helpers.js"
click node_business_reports "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/company_report.py"
click node_branch_ops "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/branch_operations.py"
click node_branch_tasks "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/branch_task.py"
click node_staffing "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/staffing.py"
click node_business_overview "https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/business_overview.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_goal_setup,node_goal_monitor,node_templates,node_kpi,node_adapter,node_work_requests toneBlue
class node_accounting,node_inventory,node_pos,node_purchase,node_purchase_goals,node_supplier_delivery,node_source_common toneAmber
class node_business_reports,node_branch_ops,node_branch_tasks,node_staffing,node_business_overview toneMint
class node_shell,node_goals_ui,node_tasks_ui,node_people_ui,node_requests_ui,node_admin_ui,node_dashboards toneRose
class node_user toneIndigo
```

## Components

### Goals and KPIs

- [Goal setup](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/goal_setup.py): `profit.co/strategic_management/models/goal_setup.py`
- [Goal monitoring](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/goal_setup_monitoring.py): `profit.co/strategic_management/models/goal_setup_monitoring.py`
- [Goal templates](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/goal_templates.py): `profit.co/strategic_management/models/goal_templates.py`
- [KPI definitions](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/kpi.py): `profit.co/strategic_management/models/kpi.py`
- [KPI source adapter](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/kpi_source_adapter.py): `profit.co/strategic_management/models/kpi_source_adapter.py`
- [KPI and OKR requests](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/kpi_work_request.py): `profit.co/strategic_management/models/kpi_work_request.py`

### Operational measurement

- [Accounting measures](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/accounting.py): `profit.co/strategic_management/services/kpi_sources/accounting.py`
- [Inventory measures](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/inventory.py): `profit.co/strategic_management/services/kpi_sources/inventory.py`
- [POS measures](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/pos.py): `profit.co/strategic_management/services/kpi_sources/pos.py`
- [Purchase measures](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/purchase.py): `profit.co/strategic_management/services/kpi_sources/purchase.py`
- [Purchase goal measures](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/purchase_goals.py): `profit.co/strategic_management/services/kpi_sources/purchase_goals.py`
- [Supplier delivery measures](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/supplier_delivery.py): `profit.co/strategic_management/services/kpi_sources/supplier_delivery.py`
- [Source validation](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/services/kpi_sources/common.py): `profit.co/strategic_management/services/kpi_sources/common.py`

### People and operations

- [Business reporting](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/company_report.py): `profit.co/strategic_management/models/company_report.py`
- [Branch operations](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/branch_operations.py): `profit.co/strategic_management/models/branch_operations.py`
- [Branch tasks](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/branch_task.py): `profit.co/strategic_management/models/branch_task.py`
- [Staffing and access](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/staffing.py): `profit.co/strategic_management/models/staffing.py`
- [Business overview](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/models/business_overview.py): `profit.co/strategic_management/models/business_overview.py`

### Navigation and insight

- [Strategic navigation](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js): `profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js`
- [Business goals UI](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/business_goals/business_goals.js): `profit.co/strategic_management/static/src/business_goals/business_goals.js`
- [Task workspace](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/pages/tasks/tasks.js): `profit.co/strategic_management/static/src/navigation_shell/pages/tasks/tasks.js`
- [Employee management](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/pages/employees/employees.js): `profit.co/strategic_management/static/src/navigation_shell/pages/employees/employees.js`
- [Request review UI](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/pages/kpi_requests/kpi_requests.js): `profit.co/strategic_management/static/src/navigation_shell/pages/kpi_requests/kpi_requests.js`
- [Admin console](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/navigation_shell/pages/admin/admin.js): `profit.co/strategic_management/static/src/navigation_shell/pages/admin/admin.js`
- [KPI dashboards](https://github.com/pranishlama/intern-team-projects/blob/main/profit.co/strategic_management/static/src/kpi_dashboards/dashboard_helpers.js): `profit.co/strategic_management/static/src/kpi_dashboards/dashboard_helpers.js`

### Other components

- **Staff and managers**

## Connections

- Staff and managers → Strategic navigation: opens
- Strategic navigation → Business goals UI: hosts (evidence: `profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js`)
- Strategic navigation → Task workspace: hosts (evidence: `profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js`)
- Strategic navigation → Employee management: hosts (evidence: `profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js`)
- Strategic navigation → Request review UI: hosts (evidence: `profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js`)
- Strategic navigation → Admin console: hosts (evidence: `profit.co/strategic_management/static/src/navigation_shell/navigation_shell.js`)
- Strategic navigation → KPI dashboards: shows
- Business goals UI → Goal setup: manages
- Goal setup → Goal templates: uses (evidence: `profit.co/strategic_management/models/goal_setup.py`)
- Goal setup → KPI definitions: reuses (evidence: `profit.co/strategic_management/models/goal_setup.py`)
- Goal setup → KPI source adapter: evaluates through (evidence: `profit.co/strategic_management/models/goal_setup.py`)
- Goal setup → Accounting measures: collects from (evidence: `profit.co/strategic_management/models/goal_setup.py`)
- Goal setup → Inventory measures: collects from (evidence: `profit.co/strategic_management/models/goal_setup.py`)
- Goal setup → Purchase measures: collects from (evidence: `profit.co/strategic_management/models/goal_setup.py`)
- Goal setup → Purchase goal measures: collects from (evidence: `profit.co/strategic_management/models/goal_setup.py`)
- Goal monitoring → Goal setup: extends (evidence: `profit.co/strategic_management/models/goal_setup_monitoring.py`)
- Goal monitoring → Inventory measures: reads measures (evidence: `profit.co/strategic_management/models/goal_setup_monitoring.py`)
- Goal monitoring → POS measures: reads measures (evidence: `profit.co/strategic_management/models/goal_setup_monitoring.py`)
- Goal monitoring → Purchase goal measures: reads measures (evidence: `profit.co/strategic_management/models/goal_setup_monitoring.py`)
- Goal monitoring → Supplier delivery measures: reads measures (evidence: `profit.co/strategic_management/models/goal_setup_monitoring.py`)
- KPI definitions → Source validation: uses (evidence: `profit.co/strategic_management/models/kpi.py`)
- KPI source adapter → Source validation: loads (evidence: `profit.co/strategic_management/models/kpi_source_adapter.py`)
- Accounting measures → Source validation: uses (evidence: `profit.co/strategic_management/services/kpi_sources/accounting.py`)
- Inventory measures → Source validation: uses (evidence: `profit.co/strategic_management/services/kpi_sources/inventory.py`)
- Inventory measures → POS measures: reuses (evidence: `profit.co/strategic_management/services/kpi_sources/inventory.py`)
- POS measures → Source validation: uses (evidence: `profit.co/strategic_management/services/kpi_sources/pos.py`)
- Purchase measures → Source validation: uses (evidence: `profit.co/strategic_management/services/kpi_sources/purchase.py`)
- Purchase measures → Purchase goal measures: supports (evidence: `profit.co/strategic_management/services/kpi_sources/purchase.py`)
- Purchase goal measures → Source validation: uses (evidence: `profit.co/strategic_management/services/kpi_sources/purchase_goals.py`)
- Supplier delivery measures → Source validation: uses (evidence: `profit.co/strategic_management/services/kpi_sources/supplier_delivery.py`)
- Supplier delivery measures → Purchase goal measures: uses (evidence: `profit.co/strategic_management/services/kpi_sources/supplier_delivery.py`)
- Task workspace → Branch tasks: calls (evidence: `profit.co/strategic_management/static/src/navigation_shell/pages/tasks/tasks.js`)
- Employee management → Staffing and access: manages
- Request review UI → KPI and OKR requests: calls (evidence: `profit.co/strategic_management/static/src/navigation_shell/pages/kpi_requests/kpi_requests.js`)
- KPI dashboards → Business reporting: displays
- KPI dashboards → Branch operations: displays
- Strategic navigation → Business overview: loads
