mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-21 09:52:01 +02:00
Initial commit: Core packages
This commit is contained in:
commit
12c29a983b
9512 changed files with 8379910 additions and 0 deletions
45
odoo-bringout-oca-ocb-base/doc/BASE_ADDON.md
Normal file
45
odoo-bringout-oca-ocb-base/doc/BASE_ADDON.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Base Addon Deep Dive
|
||||
|
||||
The `base` addon provides the foundation for all Odoo applications.
|
||||
|
||||
## Key Models
|
||||
- `ir.model`, `ir.model.fields`: model metadata and fields registry.
|
||||
- `ir.ui.menu`, `ir.actions.*`: client actions and menu hierarchy.
|
||||
- `ir.config_parameter`: runtime configuration key/value store.
|
||||
- `ir.attachment`: binary attachments with filestore storage.
|
||||
- `res.users`, `res.groups`, `res.company`, `res.partner`, `res.currency`.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class ir_model
|
||||
class ir_model_fields
|
||||
class ir_ui_menu
|
||||
class ir_actions
|
||||
class ir_config_parameter
|
||||
class ir_attachment
|
||||
class res_users
|
||||
class res_groups
|
||||
class res_company
|
||||
class res_partner
|
||||
class res_currency
|
||||
|
||||
ir_model <.. ir_model_fields
|
||||
res_users --> res_groups
|
||||
res_users --> res_company
|
||||
res_partner --> res_company
|
||||
ir_ui_menu --> ir_actions
|
||||
ir_attachment --> res_users
|
||||
```
|
||||
|
||||
## Controllers
|
||||
- Minimal endpoints for attachments and common actions.
|
||||
|
||||
## Security
|
||||
- Group definitions and default access rights via `ir.model.access.csv`.
|
||||
- Record rules for multi-company and user-specific data.
|
||||
|
||||
## Data
|
||||
- Seed actions, menus, parameters, currencies, companies, languages.
|
||||
|
||||
## Notes
|
||||
- Many application modules only extend these models via `_inherit`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue