# imran452002/tridots_frappe architecture

> Architecture diagram of the GitHub repository imran452002/tridots_frappe, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/imran452002/tridots_frappe
- Repository: https://github.com/imran452002/tridots_frappe

## Overview

This is a small, broad Frappe custom app rather than a single end-to-end product: its modules cover school homework and fee workflows, inventory movement, and smaller movie, task, and news features. The clearest user-facing paths are routed website pages and whitelisted DocType methods, with Frappe providing persistence and dispatch. The graph preserves the major sampled domain branches; many DocTypes are unsampled, so their internal relationships are omitted rather than inferred.

Main entry points: [`frappe_new/hooks.py`](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/hooks.py) (Frappe hooks), [`frappe_new/frappe_new_title/doctype/home_work/home_work.py`](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/home_work/home_work.py) (Homework records), [`frappe_new/public/js/product_transfer.js`](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/public/js/product_transfer.js) (Product transfer form), [`frappe_new/frappe_new_title/doctype/std_fee_registration/std_fee_registration.py`](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/std_fee_registration/std_fee_registration.py) (Fee registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_education["School workflows"]
  node_homework["Homework records<br/>[home_work.py]"]
  node_homeworkreport["Homework dashboard"]
  node_registration["Fee registration"]
  node_payment["Fee payment<br/>[student_fee_pay.py]"]
  node_feeinvoice["Fee invoice format"]
end

subgraph group_inventory["Inventory"]
  node_producttransfer["Product transfer form"]
  node_transferdetail["Transfer detail"]
  node_transfercontroller["Transfer controller"]
  node_stockmovement["Stock movement<br/>[stock_movement.py]"]
end

subgraph group_content["Content and tasks"]
  node_move["Movie records<br/>[move.py]"]
  node_moviereport["Movies report<br/>[movies_list.py]"]
  node_todo["Todo page<br/>[todo_lists.py]"]
  node_expensepage["Expense page<br/>[expense_entry.py]"]
  node_newsoverride["News article override"]
  node_newsalert["News alert DocType<br/>[news_alert.py]"]
end

subgraph group_platform["App integration and reports"]
  node_hooks["Frappe hooks<br/>[hooks.py]"]
  node_api["Stock and alert API<br/>[api.py]"]
end

node_user(("App user"))

node_user -.->|"uses"| node_homework
node_homework -->|"reports records"| node_homeworkreport
node_registration -->|"updates paid status"| node_payment
node_hooks -->|"routes to"| node_expensepage
node_hooks -->|"routes to"| node_homework
node_hooks -->|"configures form"| node_producttransfer
node_hooks -->|"dispatches event"| node_newsalert
node_hooks -->|"registers override"| node_newsoverride
node_hooks -.->|"exposes integration"| node_feeinvoice
node_producttransfer -->|"filters child rows"| node_transferdetail
node_move -->|"shares records"| node_moviereport
node_todo -.->|"serves page"| node_user
node_api -.->|"supplies quantity"| node_stockmovement

click node_hooks "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/hooks.py"
click node_homework "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/home_work/home_work.py"
click node_homeworkreport "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/report/home_work_dashboard/home_work_dashboard.py"
click node_registration "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/std_fee_registration/std_fee_registration.py"
click node_payment "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/student_fee_pay/student_fee_pay.py"
click node_feeinvoice "https://github.com/imran452002/tridots_frappe/tree/upstream/frappe_new/frappe_new_title/print_format/student_pay_invoice"
click node_producttransfer "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/public/js/product_transfer.js"
click node_transferdetail "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/transfer_product_detail/transfer_product_detail.py"
click node_transfercontroller "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/product_transfer/product_transfer.py"
click node_move "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/move/move.py"
click node_moviereport "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/report/movies_list/movies_list.py"
click node_todo "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/www/todo_lists.py"
click node_expensepage "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/www/expense_entry.py"
click node_newsoverride "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/overrides/news_paper_articles.py"
click node_newsalert "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/news_alert/news_alert.py"
click node_api "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/api.py"
click node_stockmovement "https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/stock_movement/stock_movement.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_homework,node_homeworkreport,node_registration,node_payment,node_feeinvoice,node_user toneBlue
class node_producttransfer,node_transferdetail,node_transfercontroller,node_stockmovement toneAmber
class node_move,node_moviereport,node_todo,node_expensepage,node_newsoverride,node_newsalert toneMint
class node_hooks,node_api toneRose
```

## Components

### School workflows

- [Homework records](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/home_work/home_work.py): `frappe_new/frappe_new_title/doctype/home_work/home_work.py`
- [Homework dashboard](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/report/home_work_dashboard/home_work_dashboard.py): `frappe_new/frappe_new_title/report/home_work_dashboard/home_work_dashboard.py`
- [Fee registration](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/std_fee_registration/std_fee_registration.py): `frappe_new/frappe_new_title/doctype/std_fee_registration/std_fee_registration.py`
- [Fee payment](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/student_fee_pay/student_fee_pay.py): `frappe_new/frappe_new_title/doctype/student_fee_pay/student_fee_pay.py`
- [Fee invoice format](https://github.com/imran452002/tridots_frappe/tree/upstream/frappe_new/frappe_new_title/print_format/student_pay_invoice): `frappe_new/frappe_new_title/print_format/student_pay_invoice`

### Inventory

- [Product transfer form](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/public/js/product_transfer.js): `frappe_new/public/js/product_transfer.js`
- [Transfer detail](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/transfer_product_detail/transfer_product_detail.py): `frappe_new/frappe_new_title/doctype/transfer_product_detail/transfer_product_detail.py`
- [Transfer controller](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/product_transfer/product_transfer.py): `frappe_new/frappe_new_title/doctype/product_transfer/product_transfer.py`
- [Stock movement](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/stock_movement/stock_movement.py): `frappe_new/frappe_new_title/doctype/stock_movement/stock_movement.py`

### Content and tasks

- [Movie records](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/move/move.py): `frappe_new/frappe_new_title/doctype/move/move.py`
- [Movies report](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/report/movies_list/movies_list.py): `frappe_new/frappe_new_title/report/movies_list/movies_list.py`
- [Todo page](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/www/todo_lists.py): `frappe_new/www/todo_lists.py`
- [Expense page](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/www/expense_entry.py): `frappe_new/www/expense_entry.py`
- [News article override](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/overrides/news_paper_articles.py): `frappe_new/frappe_new_title/overrides/news_paper_articles.py`
- [News alert DocType](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/frappe_new_title/doctype/news_alert/news_alert.py): `frappe_new/frappe_new_title/doctype/news_alert/news_alert.py`

### App integration and reports

- [Frappe hooks](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/hooks.py): `frappe_new/hooks.py`
- [Stock and alert API](https://github.com/imran452002/tridots_frappe/blob/upstream/frappe_new/api.py): `frappe_new/api.py`

### Other components

- **App user**

## Connections

- App user → Homework records: uses
- Homework records → Homework dashboard: reports records (evidence: `frappe_new/frappe_new_title/report/home_work_dashboard/home_work_dashboard.py`)
- Fee registration → Fee payment: updates paid status (evidence: `frappe_new/frappe_new_title/doctype/student_fee_pay/student_fee_pay.py`)
- Frappe hooks → Expense page: routes to (evidence: `frappe_new/hooks.py`)
- Frappe hooks → Homework records: routes to (evidence: `frappe_new/hooks.py`)
- Frappe hooks → Product transfer form: configures form (evidence: `frappe_new/hooks.py`)
- Frappe hooks → News alert DocType: dispatches event (evidence: `frappe_new/hooks.py`)
- Frappe hooks → News article override: registers override (evidence: `frappe_new/hooks.py`)
- Frappe hooks → Fee invoice format: exposes integration
- Product transfer form → Transfer detail: filters child rows (evidence: `frappe_new/public/js/product_transfer.js`)
- Movie records → Movies report: shares records (evidence: `frappe_new/frappe_new_title/report/movies_list/movies_list.py`)
- Todo page → App user: serves page
- Stock and alert API → Stock movement: supplies quantity
