# panhakoeun142007-creator/odoo architecture

> Architecture diagram of the GitHub repository panhakoeun142007-creator/odoo, 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/panhakoeun142007-creator/odoo
- Repository: https://github.com/panhakoeun142007-creator/odoo

## Overview

Odoo is a web-based business-app suite; this repository slice prominently includes its accounting app and related payment and electronic-invoicing extensions. The principal accounting journey is represented at a domain level: users work with accounting documents, validate them, and may settle or transmit them. Platform nodes show the sampled request/runtime and ORM layers. Accounting internals are not excerpted, so their connections are shown only as unverified dashed links; the README documents the suite and its app integration, not these implementation details.

Main entry points: [`addons/account/models/account_move.py`](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account/models/account_move.py) (Accounting documents), [`odoo/http.py`](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/http.py) (HTTP dispatch), [`addons/account_edi/models/account_edi_format.py`](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_edi/models/account_edi_format.py) (EDI formats), [`odoo/service/server.py`](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/service/server.py) (HTTP server)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_platform["Platform runtime"]
  node_server["HTTP server<br/>[server.py]"]
  node_http["HTTP dispatch<br/>[http.py]"]
  node_orm["ORM models<br/>[models.py]"]
  node_fields["ORM fields<br/>[fields.py]"]
  node_tools["Shared tools"]
  node_exceptions["Application errors<br/>[exceptions.py]"]
  node_logging["Logging<br/>[logging.py]"]
end

subgraph group_accounting["Accounting"]
  node_accounting_docs["Accounting documents<br/>[account_move.py]"]
  node_ledger["Ledger and accounts<br/>[account_account.py]"]
  node_tax["Tax calculation<br/>[account_tax.py]"]
  node_reconcile["Reconciliation"]
  node_account_wizards["Accounting actions"]
end

subgraph group_payments["Payments"]
  node_payment["Payment processing<br/>[account_payment.py]"]
  node_payment_portal["Payment portal<br/>[payment.py]"]
end

subgraph group_edi["Electronic invoicing"]
  node_edi["EDI formats"]
  node_ubl["UBL/CII formats<br/>[account_edi_ubl.py]"]
  node_peppol["Peppol exchange"]
end

node_user(("Business user"))

node_user -->|"sends requests"| node_server
node_server -.->|"serves requests"| node_http
node_http -->|"sets up ORM"| node_orm
node_http -->|"handles errors"| node_exceptions
node_orm -->|"uses fields"| node_fields
node_accounting_docs -.->|"uses accounts"| node_ledger
node_accounting_docs -.->|"applies taxes"| node_tax
node_accounting_docs -.->|"reconciles entries"| node_reconcile
node_user -.->|"works with documents"| node_accounting_docs
node_user -.->|"starts actions"| node_account_wizards
node_accounting_docs -.->|"settles documents"| node_payment
node_payment_portal -.->|"initiates payments"| node_payment
node_accounting_docs -.->|"transmits documents"| node_edi
node_edi -.->|"uses formats"| node_ubl
node_edi -.->|"supports exchange"| node_peppol

click node_server "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/service/server.py"
click node_http "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/http.py"
click node_orm "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/orm/models.py"
click node_fields "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/orm/fields.py"
click node_tools "https://github.com/panhakoeun142007-creator/odoo/tree/19.0/odoo/tools"
click node_exceptions "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/exceptions.py"
click node_logging "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/logging.py"
click node_accounting_docs "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account/models/account_move.py"
click node_ledger "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account/models/account_account.py"
click node_tax "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account/models/account_tax.py"
click node_reconcile "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account/models/account_partial_reconcile.py"
click node_account_wizards "https://github.com/panhakoeun142007-creator/odoo/tree/19.0/addons/account/wizard"
click node_payment "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_payment/models/account_payment.py"
click node_payment_portal "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_payment/controllers/payment.py"
click node_edi "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_edi/models/account_edi_format.py"
click node_ubl "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_edi_ubl_cii/models/account_edi_ubl.py"
click node_peppol "https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_peppol/models/account_move_send.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_server,node_http,node_orm,node_fields,node_tools,node_exceptions,node_logging,node_user toneBlue
class node_accounting_docs,node_ledger,node_tax,node_reconcile,node_account_wizards toneAmber
class node_payment,node_payment_portal toneMint
class node_edi,node_ubl,node_peppol toneRose
```

## Components

### Platform runtime

- [HTTP server](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/service/server.py): `odoo/service/server.py`
- [HTTP dispatch](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/http.py): `odoo/http.py`
- [ORM models](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/orm/models.py): `odoo/orm/models.py`
- [ORM fields](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/orm/fields.py): `odoo/orm/fields.py`
- [Shared tools](https://github.com/panhakoeun142007-creator/odoo/tree/19.0/odoo/tools): `odoo/tools`
- [Application errors](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/exceptions.py): `odoo/exceptions.py`
- [Logging](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/odoo/logging.py): `odoo/logging.py`

### Accounting

- [Accounting documents](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account/models/account_move.py): `addons/account/models/account_move.py`
- [Ledger and accounts](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account/models/account_account.py): `addons/account/models/account_account.py`
- [Tax calculation](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account/models/account_tax.py): `addons/account/models/account_tax.py`
- [Reconciliation](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account/models/account_partial_reconcile.py): `addons/account/models/account_partial_reconcile.py`
- [Accounting actions](https://github.com/panhakoeun142007-creator/odoo/tree/19.0/addons/account/wizard): `addons/account/wizard`

### Payments

- [Payment processing](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_payment/models/account_payment.py): `addons/account_payment/models/account_payment.py`
- [Payment portal](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_payment/controllers/payment.py): `addons/account_payment/controllers/payment.py`

### Electronic invoicing

- [EDI formats](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_edi/models/account_edi_format.py): `addons/account_edi/models/account_edi_format.py`
- [UBL/CII formats](https://github.com/panhakoeun142007-creator/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 exchange](https://github.com/panhakoeun142007-creator/odoo/blob/19.0/addons/account_peppol/models/account_move_send.py): `addons/account_peppol/models/account_move_send.py`

### Other components

- **Business user**

## Connections

- Business user → HTTP server: sends requests (evidence: `odoo/service/server.py`)
- HTTP server → HTTP dispatch: serves requests (evidence: `odoo/service/server.py`)
- HTTP dispatch → ORM models: sets up ORM (evidence: `odoo/http.py`)
- HTTP dispatch → Application errors: handles errors (evidence: `odoo/http.py`)
- ORM models → ORM fields: uses fields (evidence: `odoo/fields/__init__.py`)
- Accounting documents → Ledger and accounts: uses accounts
- Accounting documents → Tax calculation: applies taxes
- Accounting documents → Reconciliation: reconciles entries
- Business user → Accounting documents: works with documents
- Business user → Accounting actions: starts actions
- Accounting documents → Payment processing: settles documents
- Payment portal → Payment processing: initiates payments
- Accounting documents → EDI formats: transmits documents
- EDI formats → UBL/CII formats: uses formats
- EDI formats → Peppol exchange: supports exchange
