mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-20 10:12:04 +02:00
Initial commit: Core packages
This commit is contained in:
commit
12c29a983b
9512 changed files with 8379910 additions and 0 deletions
29
odoo-bringout-oca-ocb-base/doc/MODULES.md
Normal file
29
odoo-bringout-oca-ocb-base/doc/MODULES.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Modules System
|
||||
|
||||
How addons are discovered, installed, and loaded.
|
||||
|
||||
## Addons Path Resolution
|
||||
- `odoo.addons.__path__` and configured `addons_path` entries.
|
||||
- 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
|
||||
```mermaid
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue