# victorimannuel/brinday-odoo18 architecture

> Architecture diagram of the GitHub repository victorimannuel/brinday-odoo18, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/victorimannuel/brinday-odoo18
- Repository: https://github.com/victorimannuel/brinday-odoo18

## Overview

##### Main Components
- Odoo Core Engine: At the center, include the Odoo server which handles ORM, business workflow, security, and database interactions.
- External Addons: Group these into logical clusters. For instance:
– Accounting & Financial Reporting: Modules like accounting_pdf_reports, om_account_accountant, om_account_asset, om_account_budget, om_account_daily_reports, om_account_followup.
– Web UI/UX Enhancements: Modules such as muk_web_appsbar, muk_web_chatter, muk_web_colors, muk_web_dialog, muk_web_theme, and web_window_title.
– Fiscal & Recurring Features: Modules such as om_fiscal_year and om_recurring_payments.
- Shared Resources: Often, addons offer shared resources like configurations (ir.model.access, security files) and translations (i18n directories). Consider bundling these as “Common Data/Configuration” components.

##### Relationships & Interactions
- Within an addon group (for example, the Accounting group), show how different modules interact. For instance, accounting_pdf_reports might connect with account move models, ledger reports, and then share data with modules like om_account_followup.
- Configuration exchange (e.g., from res_config_settings models)
- Presentation layering (XML view inheritance and JS interactions for web modules)
- Report generation (report definitions to PDF outputs)

##### Architectural Patterns & Design Principles
- MVC Pattern: While Odoo is not a classic strict MVC, typically:
- Models are found in each addon’s “models” directories.
- Views reside in “views” and “templates.”
- Controllers (if present) and wizards make up the control logic.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Core and Shared Components
    OdooCore("Odoo Core Engine"):::core
    Common("Common Data/Configuration"):::common
    Client("Client – Web Browser"):::client

    %% External Addons Subgraphs
    subgraph "Accounting & Financial Reporting"
        acc_pdf("accounting_pdf_reports"):::addon
        acc_acc("om_account_accountant"):::addon
        acc_asset("om_account_asset"):::addon
        acc_budget("om_account_budget"):::addon
        acc_daily("om_account_daily_reports"):::addon
        acc_followup("om_account_followup"):::addon
    end

    subgraph "Web UI/UX Enhancements"
        web_appsbar("muk_web_appsbar"):::addon
        web_chatter("muk_web_chatter"):::addon
        web_colors("muk_web_colors"):::addon
        web_dialog("muk_web_dialog"):::addon
        web_theme("muk_web_theme"):::addon
        web_title("web_window_title"):::addon
    end

    subgraph "Fiscal & Recurring Features"
        fiscal_year("om_fiscal_year"):::addon
        fiscal_recurring("om_recurring_payments"):::addon
    end

    %% Connections between Components
    OdooCore -->|"loads"| acc_pdf
    OdooCore -->|"loads"| acc_acc
    OdooCore -->|"loads"| acc_asset
    OdooCore -->|"loads"| acc_budget
    OdooCore -->|"loads"| acc_daily
    OdooCore -->|"loads"| acc_followup

    OdooCore -->|"loads"| web_appsbar
    OdooCore -->|"loads"| web_chatter
    OdooCore -->|"loads"| web_colors
    OdooCore -->|"loads"| web_dialog
    OdooCore -->|"loads"| web_theme
    OdooCore -->|"loads"| web_title

    OdooCore -->|"loads"| fiscal_year
    OdooCore -->|"loads"| fiscal_recurring

    OdooCore -->|"configures"| Common

    %% Web UI interactions with Client
    web_appsbar -->|"renders"| Client
    web_chatter -->|"updates"| Client
    web_dialog -->|"enhances"| web_theme
    web_theme -->|"displays"| Client
    web_title -->|"sets"| Client

    %% Accounting internal interaction
    acc_pdf -->|"generates_reports"| acc_followup

    %% Styles
    classDef core fill:#BEE3F8,stroke:#3182CE,stroke-width:2px,color:#000;
    classDef addon fill:#E2E8F0,stroke:#2D3748,stroke-width:2px,color:#000;
    classDef client fill:#FED7D7,stroke:#E53E3E,stroke-width:2px,color:#000;
    classDef common fill:#C6F6D5,stroke:#38A169,stroke-width:2px,color:#000;

    %% Click Events for Accounting & Financial Reporting
    click acc_pdf "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/accounting_pdf_reports"
    click acc_acc "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/om_account_accountant"
    click acc_asset "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/om_account_asset"
    click acc_budget "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/om_account_budget"
    click acc_daily "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/om_account_daily_reports"
    click acc_followup "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/om_account_followup"

    %% Click Events for Web UI/UX Enhancements
    click web_appsbar "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/muk_web_appsbar"
    click web_chatter "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/muk_web_chatter"
    click web_colors "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/muk_web_colors"
    click web_dialog "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/muk_web_dialog"
    click web_theme "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/muk_web_theme"
    click web_title "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/web_window_title"

    %% Click Events for Fiscal & Recurring Features
    click fiscal_year "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/om_fiscal_year"
    click fiscal_recurring "https://github.com/victorimannuel/brinday-odoo18/tree/master/external_addons/om_recurring_payments"
```
