mirror of
https://github.com/bringout/oca-ocb-vertical-industry.git
synced 2026-04-22 18:52:06 +02:00
Initial commit: Vertical Industry packages
This commit is contained in:
commit
d5567a0017
766 changed files with 733028 additions and 0 deletions
32
odoo-bringout-oca-ocb-fleet/doc/ARCHITECTURE.md
Normal file
32
odoo-bringout-oca-ocb-fleet/doc/ARCHITECTURE.md
Normal 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 Fleet Module - fleet
|
||||
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.
|
||||
3
odoo-bringout-oca-ocb-fleet/doc/CONFIGURATION.md
Normal file
3
odoo-bringout-oca-ocb-fleet/doc/CONFIGURATION.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Configuration
|
||||
|
||||
Refer to Odoo settings for fleet. Configure related models, access rights, and options as needed.
|
||||
3
odoo-bringout-oca-ocb-fleet/doc/CONTROLLERS.md
Normal file
3
odoo-bringout-oca-ocb-fleet/doc/CONTROLLERS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Controllers
|
||||
|
||||
This module does not define custom HTTP controllers.
|
||||
6
odoo-bringout-oca-ocb-fleet/doc/DEPENDENCIES.md
Normal file
6
odoo-bringout-oca-ocb-fleet/doc/DEPENDENCIES.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Dependencies
|
||||
|
||||
This addon depends on:
|
||||
|
||||
- base
|
||||
- [mail](../../odoo-bringout-oca-ocb-mail)
|
||||
4
odoo-bringout-oca-ocb-fleet/doc/FAQ.md
Normal file
4
odoo-bringout-oca-ocb-fleet/doc/FAQ.md
Normal 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 fleet or install in UI.
|
||||
7
odoo-bringout-oca-ocb-fleet/doc/INSTALL.md
Normal file
7
odoo-bringout-oca-ocb-fleet/doc/INSTALL.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Install
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-ocb-fleet"
|
||||
# or
|
||||
uv pip install odoo-bringout-oca-ocb-fleet"
|
||||
```
|
||||
23
odoo-bringout-oca-ocb-fleet/doc/MODELS.md
Normal file
23
odoo-bringout-oca-ocb-fleet/doc/MODELS.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Models
|
||||
|
||||
Detected core models and extensions in fleet.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class fleet_service_type
|
||||
class fleet_vehicle
|
||||
class fleet_vehicle_assignation_log
|
||||
class fleet_vehicle_log_contract
|
||||
class fleet_vehicle_log_services
|
||||
class fleet_vehicle_model
|
||||
class fleet_vehicle_model_brand
|
||||
class fleet_vehicle_model_category
|
||||
class fleet_vehicle_odometer
|
||||
class fleet_vehicle_state
|
||||
class fleet_vehicle_tag
|
||||
class res_partner
|
||||
```
|
||||
|
||||
Notes
|
||||
- Classes show model technical names; fields omitted for brevity.
|
||||
- Items listed under _inherit are extensions of existing models.
|
||||
6
odoo-bringout-oca-ocb-fleet/doc/OVERVIEW.md
Normal file
6
odoo-bringout-oca-ocb-fleet/doc/OVERVIEW.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
|
||||
Packaged Odoo addon: fleet. Provides features documented in upstream Odoo 16 under this addon.
|
||||
|
||||
- Source: OCA/OCB 16.0, addon fleet
|
||||
- License: LGPL-3
|
||||
25
odoo-bringout-oca-ocb-fleet/doc/REPORTS.md
Normal file
25
odoo-bringout-oca-ocb-fleet/doc/REPORTS.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Reports
|
||||
|
||||
Report definitions and templates in fleet.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class FleetReport
|
||||
Model <|-- FleetReport
|
||||
```
|
||||
|
||||
## Available Reports
|
||||
|
||||
No named reports found in XML files.
|
||||
|
||||
|
||||
## Report Files
|
||||
|
||||
- **fleet_report.py** (Python logic)
|
||||
- **__init__.py** (Python logic)
|
||||
|
||||
## 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
|
||||
42
odoo-bringout-oca-ocb-fleet/doc/SECURITY.md
Normal file
42
odoo-bringout-oca-ocb-fleet/doc/SECURITY.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Security
|
||||
|
||||
Access control and security definitions in fleet.
|
||||
|
||||
## Access Control Lists (ACLs)
|
||||
|
||||
Model access permissions defined in:
|
||||
- **[ir.model.access.csv](../fleet/security/ir.model.access.csv)**
|
||||
- 22 model access rules
|
||||
|
||||
## Record Rules
|
||||
|
||||
Row-level security rules defined in:
|
||||
|
||||
## Security Groups & Configuration
|
||||
|
||||
Security groups and permissions defined in:
|
||||
- **[fleet_security.xml](../fleet/security/fleet_security.xml)**
|
||||
- 2 security groups defined
|
||||
|
||||
```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:
|
||||
- **[fleet_security.xml](../fleet/security/fleet_security.xml)**
|
||||
- Security groups, categories, and XML-based rules
|
||||
- **[ir.model.access.csv](../fleet/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
|
||||
5
odoo-bringout-oca-ocb-fleet/doc/TROUBLESHOOTING.md
Normal file
5
odoo-bringout-oca-ocb-fleet/doc/TROUBLESHOOTING.md
Normal 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.
|
||||
7
odoo-bringout-oca-ocb-fleet/doc/USAGE.md
Normal file
7
odoo-bringout-oca-ocb-fleet/doc/USAGE.md
Normal 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 fleet
|
||||
```
|
||||
3
odoo-bringout-oca-ocb-fleet/doc/WIZARDS.md
Normal file
3
odoo-bringout-oca-ocb-fleet/doc/WIZARDS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Wizards
|
||||
|
||||
This module does not include UI wizards.
|
||||
Loading…
Add table
Add a link
Reference in a new issue