# avyaktrashi/inside-se-odoo architecture

> Architecture diagram of the GitHub repository avyaktrashi/inside-se-odoo, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/avyaktrashi/inside-se-odoo
- Repository: https://github.com/avyaktrashi/inside-se-odoo

## Overview

Odoo is a suite of web-based business applications that can operate independently or as an integrated ERP. This map focuses on the accounting workflow suggested by the available modules: a user accesses accounting through portal or web routes, works with invoices and journal entries, and can register payments or send documents electronically. Separate branches capture online checkout, inventory storage rules, analytic accounting, calendar alarms, and IoT connectivity. The file tree and sampled excerpts support these module boundaries, but do not establish all runtime wiring; uncertain links are omitted.

Main entry points: [`addons/account/models/account_move.py`](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/models/account_move.py) (Invoices and moves), [`addons/account/controllers/portal.py`](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/controllers/portal.py) (Accounting portal), [`addons/account/controllers/catalog.py`](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/controllers/catalog.py) (Accounting routes), [`addons/account/models/account_payment.py`](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/models/account_payment.py) (Payment records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_accounting["Accounting"]
  node_portal["Accounting portal<br/>[portal.py]"]
  node_account_routes["Accounting routes<br/>[catalog.py]"]
  node_moves["Invoices and moves<br/>[account_move.py]"]
  node_journals["Journals and taxes<br/>[account_journal.py]"]
  node_payments["Payment records<br/>[account_payment.py]"]
  node_payment_register["Register payment"]
  node_analytic["Analytic accounting"]
end

subgraph group_commerce["Commerce and Inventory"]
  node_checkout["Online checkout<br/>[main.py]"]
  node_storage_categories["Storage capacity"]
end

subgraph group_integrations["External Integrations"]
  node_edi["Electronic documents"]
  node_ubl["UBL and CII formats<br/>[account_edi_ubl.py]"]
  node_peppol["Peppol delivery"]
  node_payment_provider["Payment provider"]
  node_iot["IoT connection"]
end

subgraph group_platform["Platform Services"]
  node_calendar["Calendar alarms"]
  node_database[("Odoo database")]
end

node_user(("Business user"))
node_iot_service{{"Odoo IoT proxy"}}
node_cloud_storage{{"Cloud storage"}}

node_user -->|"accesses"| node_portal
node_user -->|"uses"| node_account_routes
node_portal -->|"serves invoices"| node_moves
node_account_routes -->|"handles moves"| node_moves
node_moves -->|"uses accounting setup"| node_journals
node_payment_register -->|"registers"| node_payments
node_user -->|"starts payment"| node_payment_register
node_moves -.->|"supports e-documents"| node_edi
node_edi -.->|"formats documents"| node_ubl
node_moves -.->|"supports delivery"| node_peppol
node_user -->|"shops online"| node_checkout
node_analytic -->|"stores records"| node_database
node_moves -->|"stores records"| node_database
node_payments -->|"stores records"| node_database
node_storage_categories -->|"stores rules"| node_database
node_calendar -->|"queries events"| node_database
node_iot -->|"polls for pairing"| node_iot_service
node_cloud_storage -.->|"attachment references"| node_database

click node_portal "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/controllers/portal.py"
click node_account_routes "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/controllers/catalog.py"
click node_moves "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/models/account_move.py"
click node_journals "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/models/account_journal.py"
click node_payments "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/models/account_payment.py"
click node_payment_register "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/wizard/account_payment_register.py"
click node_edi "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account_edi/models/account_edi_document.py"
click node_ubl "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account_edi_ubl_cii/models/account_edi_ubl.py"
click node_peppol "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account_peppol/models/account_move_send.py"
click node_payment_provider "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account_payment/models/payment_provider.py"
click node_checkout "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/website_sale/controllers/main.py"
click node_storage_categories "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/stock/models/stock_storage_category.py"
click node_analytic "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/analytic/models/analytic_distribution_model.py"
click node_calendar "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/calendar/models/calendar_alarm_manager.py"
click node_iot "https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/iot_drivers/connection_manager.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_portal,node_account_routes,node_moves,node_journals,node_payments,node_payment_register,node_analytic,node_user toneBlue
class node_checkout,node_storage_categories,node_cloud_storage toneAmber
class node_edi,node_ubl,node_peppol,node_payment_provider,node_iot toneMint
class node_calendar,node_database toneRose
class node_iot_service toneIndigo
```

## Components

### Accounting

- [Accounting portal](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/controllers/portal.py): `addons/account/controllers/portal.py`
- [Accounting routes](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/controllers/catalog.py): `addons/account/controllers/catalog.py`
- [Invoices and moves](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/models/account_move.py): `addons/account/models/account_move.py`
- [Journals and taxes](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/models/account_journal.py): `addons/account/models/account_journal.py`
- [Payment records](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/models/account_payment.py): `addons/account/models/account_payment.py`
- [Register payment](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account/wizard/account_payment_register.py): `addons/account/wizard/account_payment_register.py`
- [Analytic accounting](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/analytic/models/analytic_distribution_model.py): `addons/analytic/models/analytic_distribution_model.py`

### Commerce and Inventory

- [Online checkout](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/website_sale/controllers/main.py): `addons/website_sale/controllers/main.py`
- [Storage capacity](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/stock/models/stock_storage_category.py): `addons/stock/models/stock_storage_category.py`

### External Integrations

- [Electronic documents](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account_edi/models/account_edi_document.py): `addons/account_edi/models/account_edi_document.py`
- [UBL and CII formats](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account_edi_ubl_cii/models/account_edi_ubl.py): `addons/account_edi_ubl_cii/models/account_edi_ubl.py`
- [Peppol delivery](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account_peppol/models/account_move_send.py): `addons/account_peppol/models/account_move_send.py`
- [Payment provider](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/account_payment/models/payment_provider.py): `addons/account_payment/models/payment_provider.py`
- [IoT connection](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/iot_drivers/connection_manager.py): `addons/iot_drivers/connection_manager.py`

### Platform Services

- [Calendar alarms](https://github.com/avyaktrashi/inside-se-odoo/blob/19.0/addons/calendar/models/calendar_alarm_manager.py): `addons/calendar/models/calendar_alarm_manager.py`
- **Odoo database**

### Other components

- **Business user**
- **Odoo IoT proxy**
- **Cloud storage**

## Connections

- Business user → Accounting portal: accesses
- Business user → Accounting routes: uses
- Accounting portal → Invoices and moves: serves invoices
- Accounting routes → Invoices and moves: handles moves
- Invoices and moves → Journals and taxes: uses accounting setup
- Register payment → Payment records: registers
- Business user → Register payment: starts payment
- Invoices and moves → Electronic documents: supports e-documents
- Electronic documents → UBL and CII formats: formats documents
- Invoices and moves → Peppol delivery: supports delivery
- Business user → Online checkout: shops online
- Analytic accounting → Odoo database: stores records
- Invoices and moves → Odoo database: stores records
- Payment records → Odoo database: stores records
- Storage capacity → Odoo database: stores rules
- Calendar alarms → Odoo database: queries events
- IoT connection → Odoo IoT proxy: polls for pairing
- Cloud storage → Odoo database: attachment references
