# dannomen/siteweb_emak architecture

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

- Interactive diagram: https://gitdiagram.com/dannomen/siteweb_emak
- Repository: https://github.com/dannomen/siteweb_emak

## Overview

This repository is a collection of Odoo addons, centered on healthcare e-commerce and customer claims, with separate accounting, reporting, and operational extensions. In the evidenced claim workflow, a signed-in customer submits a claim through a website controller; the controller looks up a posted invoice, creates a claim record, and renders confirmation. Other meaningful addon branches cover deferred carts, FNE invoice certification, accounting reports, budgets, dashboards, and decade statements. Evidence is limited to the supplied excerpts and SOURCE INDEX; links for unsampled features are omitted where their runtime relationships are not shown.

Main entry points: [`fne_connector/models/account_move.py`](https://github.com/dannomen/siteweb_emak/blob/main/fne_connector/models/account_move.py) (Posted invoices), [`my_website_customer_portal/controllers/claim_controller.py`](https://github.com/dannomen/siteweb_emak/blob/main/my_website_customer_portal/controllers/claim_controller.py) (Portal claims), [`website_emakmed/controllers/claim_controller.py`](https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/controllers/claim_controller.py) (Emakmed claims), [`website_emakmed/website_emakmed/controllers/claim_controller.py`](https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/website_emakmed/controllers/claim_controller.py) (Nested site claims)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_claims["Claims"]
  node_portal_claim["Portal claims"]
  node_portal_claim_model[("Portal claim records")]
  node_site_claim["Emakmed claims"]
  node_site_claim_model[("Emakmed claim records")]
  node_nested_claim["Nested site claims"]
  node_nested_claim_model[("Nested claim records")]
end

subgraph group_commerce["Web Commerce"]
  node_storefront["Healthcare storefront<br/>[main.py]"]
  node_deferred_cart["Deferred cart<br/>[main.py]"]
end

subgraph group_accounting["Accounting"]
  node_invoice[("Posted invoices<br/>[account_move.py]")]
  node_fne_api["FNE API client<br/>[fne_api.py]"]
  node_accounting_kit["Accounting extensions"]
  node_assets["Asset management"]
  node_budget["Account budgets<br/>[account_budget.py]"]
end

subgraph group_analytics["Reporting"]
  node_dynamic_reports["Dynamic reports"]
  node_balance_sheet["Balance sheet report"]
  node_report_utils["Spreadsheet utilities"]
  node_financial_reports["Financial reports"]
  node_dashboard["Business dashboard<br/>[dashboard.py]"]
  node_decade_statement["Decade statements"]
end

subgraph group_operations["Operations"]
end

node_customer(("Signed-in customer"))

node_customer -->|"submits claim"| node_portal_claim
node_portal_claim -->|"looks up invoice"| node_invoice
node_portal_claim -->|"creates claim"| node_portal_claim_model
node_customer -->|"submits claim"| node_site_claim
node_site_claim -->|"looks up invoice"| node_invoice
node_site_claim -->|"creates claim"| node_site_claim_model
node_customer -->|"submits claim"| node_nested_claim
node_nested_claim -->|"looks up invoice"| node_invoice
node_nested_claim -->|"creates claim"| node_nested_claim_model
node_invoice -->|"uses client"| node_fne_api
node_balance_sheet -->|"references utilities"| node_report_utils

click node_portal_claim "https://github.com/dannomen/siteweb_emak/blob/main/my_website_customer_portal/controllers/claim_controller.py"
click node_portal_claim_model "https://github.com/dannomen/siteweb_emak/blob/main/my_website_customer_portal/models/claim_reclamation.py"
click node_site_claim "https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/controllers/claim_controller.py"
click node_site_claim_model "https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/models/claim_reclamation.py"
click node_nested_claim "https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/website_emakmed/controllers/claim_controller.py"
click node_nested_claim_model "https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/website_emakmed/models/claim_reclamation.py"
click node_invoice "https://github.com/dannomen/siteweb_emak/blob/main/fne_connector/models/account_move.py"
click node_fne_api "https://github.com/dannomen/siteweb_emak/blob/main/fne_connector/models/fne_api.py"
click node_accounting_kit "https://github.com/dannomen/siteweb_emak/tree/main/base_accounting_kit/models"
click node_assets "https://github.com/dannomen/siteweb_emak/blob/main/base_accounting_kit/models/account_asset_asset.py"
click node_budget "https://github.com/dannomen/siteweb_emak/blob/main/base_account_budget/models/account_budget.py"
click node_dynamic_reports "https://github.com/dannomen/siteweb_emak/tree/main/dynamic_accounts_report/models"
click node_balance_sheet "https://github.com/dannomen/siteweb_emak/blob/main/dynamic_accounts_report/models/dynamic_balance_sheet_report.py"
click node_report_utils "https://github.com/dannomen/siteweb_emak/blob/main/dynamic_accounts_report/models/report_xlsx_utils.py"
click node_financial_reports "https://github.com/dannomen/siteweb_emak/blob/main/base_accounting_kit/wizard/financial_report.py"
click node_dashboard "https://github.com/dannomen/siteweb_emak/blob/main/dashboard_direction/models/dashboard.py"
click node_decade_statement "https://github.com/dannomen/siteweb_emak/blob/main/decade_statement/models/decade_statement.py"
click node_storefront "https://github.com/dannomen/siteweb_emak/blob/main/emakhealthcare_website_theme/controllers/main.py"
click node_deferred_cart "https://github.com/dannomen/siteweb_emak/blob/main/website_sale_deferred_cart/controllers/main.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_claim,node_portal_claim_model,node_site_claim,node_site_claim_model,node_nested_claim,node_nested_claim_model toneBlue
class node_storefront,node_deferred_cart toneAmber
class node_invoice,node_fne_api,node_accounting_kit,node_assets,node_budget toneMint
class node_dynamic_reports,node_balance_sheet,node_report_utils,node_financial_reports,node_dashboard,node_decade_statement toneRose
class node_customer toneIndigo
```

## Components

### Claims

- [Portal claims](https://github.com/dannomen/siteweb_emak/blob/main/my_website_customer_portal/controllers/claim_controller.py): `my_website_customer_portal/controllers/claim_controller.py`
- [Portal claim records](https://github.com/dannomen/siteweb_emak/blob/main/my_website_customer_portal/models/claim_reclamation.py): `my_website_customer_portal/models/claim_reclamation.py`
- [Emakmed claims](https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/controllers/claim_controller.py): `website_emakmed/controllers/claim_controller.py`
- [Emakmed claim records](https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/models/claim_reclamation.py): `website_emakmed/models/claim_reclamation.py`
- [Nested site claims](https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/website_emakmed/controllers/claim_controller.py): `website_emakmed/website_emakmed/controllers/claim_controller.py`
- [Nested claim records](https://github.com/dannomen/siteweb_emak/blob/main/website_emakmed/website_emakmed/models/claim_reclamation.py): `website_emakmed/website_emakmed/models/claim_reclamation.py`

### Web Commerce

- [Healthcare storefront](https://github.com/dannomen/siteweb_emak/blob/main/emakhealthcare_website_theme/controllers/main.py): `emakhealthcare_website_theme/controllers/main.py`
- [Deferred cart](https://github.com/dannomen/siteweb_emak/blob/main/website_sale_deferred_cart/controllers/main.py): `website_sale_deferred_cart/controllers/main.py`

### Accounting

- [Posted invoices](https://github.com/dannomen/siteweb_emak/blob/main/fne_connector/models/account_move.py): `fne_connector/models/account_move.py`
- [FNE API client](https://github.com/dannomen/siteweb_emak/blob/main/fne_connector/models/fne_api.py): `fne_connector/models/fne_api.py`
- [Accounting extensions](https://github.com/dannomen/siteweb_emak/tree/main/base_accounting_kit/models): `base_accounting_kit/models`
- [Asset management](https://github.com/dannomen/siteweb_emak/blob/main/base_accounting_kit/models/account_asset_asset.py): `base_accounting_kit/models/account_asset_asset.py`
- [Account budgets](https://github.com/dannomen/siteweb_emak/blob/main/base_account_budget/models/account_budget.py): `base_account_budget/models/account_budget.py`

### Reporting

- [Dynamic reports](https://github.com/dannomen/siteweb_emak/tree/main/dynamic_accounts_report/models): `dynamic_accounts_report/models`
- [Balance sheet report](https://github.com/dannomen/siteweb_emak/blob/main/dynamic_accounts_report/models/dynamic_balance_sheet_report.py): `dynamic_accounts_report/models/dynamic_balance_sheet_report.py`
- [Spreadsheet utilities](https://github.com/dannomen/siteweb_emak/blob/main/dynamic_accounts_report/models/report_xlsx_utils.py): `dynamic_accounts_report/models/report_xlsx_utils.py`
- [Financial reports](https://github.com/dannomen/siteweb_emak/blob/main/base_accounting_kit/wizard/financial_report.py): `base_accounting_kit/wizard/financial_report.py`
- [Business dashboard](https://github.com/dannomen/siteweb_emak/blob/main/dashboard_direction/models/dashboard.py): `dashboard_direction/models/dashboard.py`
- [Decade statements](https://github.com/dannomen/siteweb_emak/blob/main/decade_statement/models/decade_statement.py): `decade_statement/models/decade_statement.py`

### Other components

- **Signed-in customer**

## Connections

- Signed-in customer → Portal claims: submits claim (evidence: `my_website_customer_portal/controllers/claim_controller.py`)
- Portal claims → Posted invoices: looks up invoice (evidence: `my_website_customer_portal/controllers/claim_controller.py`)
- Portal claims → Portal claim records: creates claim (evidence: `my_website_customer_portal/controllers/claim_controller.py`)
- Signed-in customer → Emakmed claims: submits claim (evidence: `website_emakmed/controllers/claim_controller.py`)
- Emakmed claims → Posted invoices: looks up invoice (evidence: `website_emakmed/controllers/claim_controller.py`)
- Emakmed claims → Emakmed claim records: creates claim (evidence: `website_emakmed/controllers/claim_controller.py`)
- Signed-in customer → Nested site claims: submits claim (evidence: `website_emakmed/website_emakmed/controllers/claim_controller.py`)
- Nested site claims → Posted invoices: looks up invoice (evidence: `website_emakmed/website_emakmed/controllers/claim_controller.py`)
- Nested site claims → Nested claim records: creates claim (evidence: `website_emakmed/website_emakmed/controllers/claim_controller.py`)
- Posted invoices → FNE API client: uses client (evidence: `fne_connector/models/account_move.py`)
- Balance sheet report → Spreadsheet utilities: references utilities (evidence: `dynamic_accounts_report/models/dynamic_balance_sheet_report.py`)
