mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-18 14:12:00 +02:00
761 B
761 B
Modules System
How addons are discovered, installed, and loaded.
Addons Path Resolution
odoo.addons.__path__and configuredaddons_pathentries.- Python 3.11 fix applied: cast namespace path to
list()before concatenation.
Manifests
__manifest__.py: dependencies, data files, security, assets.- Dependency graph used to order installation/updates.
Loading Process
flowchart LR
A[addons_path] --> F[Find modules]
F --> M[Read manifests]
M --> G[Build graph]
G --> I[Install/Upgrade]
I --> REG[Registry]
Data Files
- XML/YAML/CSV loaded in manifest order.
noupdate="1"for persistent records.
Base Addon
- Seed system models/actions/menus.
- Provides categories, groups, security, and core views.