Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Ddmrp Module - ddmrp
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for ddmrp. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,11 @@
# Dependencies
This addon depends on:
- [purchase_stock](../../odoo-bringout-oca-ocb-purchase_stock)
- [stock_demand_estimate](../../odoo-bringout-oca-stock-logistics-warehouse-stock_demand_estimate)
- [web_widget_bokeh_chart](../../odoo-bringout-oca-web-web_widget_bokeh_chart)
- [mrp_multi_level](../../odoo-bringout-oca-manufacture-mrp_multi_level)
- [base_cron_exclusion](../../odoo-bringout-oca-server-tools-base_cron_exclusion)
- [stock_warehouse_calendar](../../odoo-bringout-oca-stock-logistics-warehouse-stock_warehouse_calendar)
- [stock_helper](../../odoo-bringout-oca-stock-logistics-warehouse-stock_helper)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon ddmrp or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-oca-ddmrp-ddmrp"
# or
uv pip install odoo-bringout-oca-ddmrp-ddmrp"
```

View file

@ -0,0 +1,31 @@
# Models
Detected core models and extensions in ddmrp.
```mermaid
classDiagram
class product_adu_calculation_method
class stock_buffer
class stock_buffer_profile
class stock_buffer_profile_lead_time
class stock_buffer_profile_variability
class mrp_bom
class mrp_bom_line
class mrp_production
class procurement_group
class product_product
class product_template
class purchase_order
class purchase_order_line
class res_company
class stock_move
class stock_move_line
class stock_picking
class stock_rule
class stock_warehouse
class stock_warehouse_orderpoint
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: ddmrp. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon ddmrp
- License: LGPL-3

View file

@ -0,0 +1,26 @@
# Reports
Report definitions and templates in ddmrp.
```mermaid
classDiagram
class BomStructureReport
AbstractModel <|-- BomStructureReport
```
## Available Reports
No named reports found in XML files.
## Report Files
- **__init__.py** (Python logic)
- **mrp_report_bom_structure.py** (Python logic)
- **mrp_report_bom_structure.xml** (XML template/definition)
## Notes
- Named reports above are accessible through Odoo's reporting menu
- Python files define report logic and data processing
- XML files contain report templates, definitions, and formatting
- Reports are integrated with Odoo's printing and email systems

View file

@ -0,0 +1,46 @@
# Security
Access control and security definitions in ddmrp.
## Access Control Lists (ACLs)
Model access permissions defined in:
- **[ir.model.access.csv](../ddmrp/security/ir.model.access.csv)**
- 20 model access rules
## Record Rules
Row-level security rules defined in:
- **[ddmrp_rules.xml](../ddmrp/security/ddmrp_rules.xml)**
## Security Groups & Configuration
Security groups and permissions defined in:
- **[ddmrp_groups.xml](../ddmrp/security/ddmrp_groups.xml)**
- 3 security groups defined
- **[ddmrp_rules.xml](../ddmrp/security/ddmrp_rules.xml)**
```mermaid
graph TB
subgraph "Security Layers"
A[Users] --> B[Groups]
B --> C[Access Control Lists]
C --> D[Models]
B --> E[Record Rules]
E --> F[Individual Records]
end
```
Security files overview:
- **[ddmrp_groups.xml](../ddmrp/security/ddmrp_groups.xml)**
- Security groups, categories, and XML-based rules
- **[ddmrp_rules.xml](../ddmrp/security/ddmrp_rules.xml)**
- Security groups, categories, and XML-based rules
- **[ir.model.access.csv](../ddmrp/security/ir.model.access.csv)**
- Model access permissions (CRUD rights)
Notes
- Access Control Lists define which groups can access which models
- Record Rules provide row-level security (filter records by user/group)
- Security groups organize users and define permission sets
- All security is enforced at the ORM level by Odoo

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon ddmrp
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.